diff --git a/frontend/src/components/navigation/RepoQuickSwitchSheet.tsx b/frontend/src/components/navigation/RepoQuickSwitchSheet.tsx index 8d84eb62..796de07f 100644 --- a/frontend/src/components/navigation/RepoQuickSwitchSheet.tsx +++ b/frontend/src/components/navigation/RepoQuickSwitchSheet.tsx @@ -7,7 +7,7 @@ import { Button } from '@/components/ui/button' import { cn, getRepoDisplayName } from '@/lib/utils' import { listRepos } from '@/api/repos' import { AddRepoDialog } from '@/components/repo/AddRepoDialog' -import { FolderGit2, Check, Plus } from 'lucide-react' +import { FolderGit2, Check, Plus, House } from 'lucide-react' import { isAssistantPath, getAssistantPath } from '@/lib/navigation' interface RepoQuickSwitchSheetProps { @@ -75,6 +75,10 @@ export function RepoQuickSwitchSheet({ isOpen, onClose }: RepoQuickSwitchSheetPr navigateAndClose(`/repos/${id}`, { replace: true }) } + const handleHomeClick = () => { + navigateAndClose('/') + } + return ( <> @@ -90,6 +94,15 @@ export function RepoQuickSwitchSheet({ isOpen, onClose }: RepoQuickSwitchSheetPr autoComplete="off" name="repo-quick-switch" /> +