mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-16 17:46:18 +08:00
fix: temporarily process the workspaceId in search
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user