mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-09 13:25:11 +00:00
Let file context buttons route to search page instead of settings for upload/manage
This commit is contained in:
@@ -288,7 +288,7 @@ export function FilesMenu(props: FilesMenuProps) {
|
|||||||
)}
|
)}
|
||||||
<CommandGroup heading="Manage files">
|
<CommandGroup heading="Manage files">
|
||||||
<CommandItem>
|
<CommandItem>
|
||||||
<Link href="/settings">Settings</Link>
|
<Link href="/search">Settings</Link>
|
||||||
</CommandItem>
|
</CommandItem>
|
||||||
</CommandGroup>
|
</CommandGroup>
|
||||||
<CommandGroup
|
<CommandGroup
|
||||||
@@ -296,7 +296,7 @@ export function FilesMenu(props: FilesMenuProps) {
|
|||||||
>
|
>
|
||||||
{addedFiles.length == 0 && (
|
{addedFiles.length == 0 && (
|
||||||
<CommandItem>
|
<CommandItem>
|
||||||
<Link href="/settings">Upload documents</Link>
|
<Link href="/search">Upload documents</Link>
|
||||||
</CommandItem>
|
</CommandItem>
|
||||||
)}
|
)}
|
||||||
{unfilteredFiles.map((filename: string) =>
|
{unfilteredFiles.map((filename: string) =>
|
||||||
|
|||||||
Reference in New Issue
Block a user