Skip to content

Commit

Permalink
Let file context buttons route to search page instead of settings for…
Browse files Browse the repository at this point in the history
… upload/manage
  • Loading branch information
sabaimran committed Feb 2, 2025
1 parent b4c467c commit 61e48d6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -288,15 +288,15 @@ export function FilesMenu(props: FilesMenuProps) {
)}
<CommandGroup heading="Manage files">
<CommandItem>
<Link href="/settings">Settings</Link>
<Link href="/search">Settings</Link>
</CommandItem>
</CommandGroup>
<CommandGroup
heading={`${usingConversationContext ? "Configure files" : "Synced files"}`}
>
{addedFiles.length == 0 && (
<CommandItem>
<Link href="/settings">Upload documents</Link>
<Link href="/search">Upload documents</Link>
</CommandItem>
)}
{unfilteredFiles.map((filename: string) =>
Expand Down

0 comments on commit 61e48d6

Please sign in to comment.