mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 13:18:18 +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">
|
||||
<CommandItem>
|
||||
<Link href="/settings">Settings</Link>
|
||||
<Link href="/search">Settings</Link>
|
||||
</CommandItem>
|
||||
</CommandGroup>
|
||||
<CommandGroup
|
||||
@@ -296,7 +296,7 @@ export function FilesMenu(props: FilesMenuProps) {
|
||||
>
|
||||
{addedFiles.length == 0 && (
|
||||
<CommandItem>
|
||||
<Link href="/settings">Upload documents</Link>
|
||||
<Link href="/search">Upload documents</Link>
|
||||
</CommandItem>
|
||||
)}
|
||||
{unfilteredFiles.map((filename: string) =>
|
||||
|
||||
Reference in New Issue
Block a user