diff --git a/packages/app/src/components/quick-search/config.ts b/packages/app/src/components/quick-search/config.ts index a883c0ed66..3fb501a6e9 100644 --- a/packages/app/src/components/quick-search/config.ts +++ b/packages/app/src/components/quick-search/config.ts @@ -4,22 +4,20 @@ export const config = (currentWorkspaceId: string) => { const List = [ { title: 'All pages', - href: `/workspace/${ - currentWorkspaceId ? currentWorkspaceId : 'undefined' - }/all`, + href: `/workspace/${currentWorkspaceId ? currentWorkspaceId : 'all'}/all`, icon: AllPagesIcon, }, { title: 'Favourites', href: `/workspace/${ - currentWorkspaceId ? currentWorkspaceId : 'undefined' + currentWorkspaceId ? currentWorkspaceId : 'all' }/favorite`, icon: FavouritesIcon, }, { title: 'Trash', href: `/workspace/${ - currentWorkspaceId ? currentWorkspaceId : 'undefined' + currentWorkspaceId ? currentWorkspaceId : 'all' }/trash`, icon: TrashIcon, },