mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-18 02:26:21 +08:00
fix: quick search switch warning
This commit is contained in:
@@ -4,17 +4,23 @@ export const config = (currentWorkspaceId: string) => {
|
||||
const List = [
|
||||
{
|
||||
title: 'All pages',
|
||||
href: `/workspace/${currentWorkspaceId}/all`,
|
||||
href: `/workspace/${
|
||||
currentWorkspaceId ? currentWorkspaceId : 'undefined'
|
||||
}/all`,
|
||||
icon: AllPagesIcon,
|
||||
},
|
||||
{
|
||||
title: 'Favourites',
|
||||
href: `/workspace/${currentWorkspaceId}/favorite`,
|
||||
href: `/workspace/${
|
||||
currentWorkspaceId ? currentWorkspaceId : 'undefined'
|
||||
}/favorite`,
|
||||
icon: FavouritesIcon,
|
||||
},
|
||||
{
|
||||
title: 'Trash',
|
||||
href: `/workspace/${currentWorkspaceId}/trash`,
|
||||
href: `/workspace/${
|
||||
currentWorkspaceId ? currentWorkspaceId : 'undefined'
|
||||
}/trash`,
|
||||
icon: TrashIcon,
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user