mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-12 06:29:45 +08:00
fix: fix quick search
This commit is contained in:
@@ -1,20 +1,22 @@
|
||||
import { AllPagesIcon, FavouritesIcon, TrashIcon } from '@blocksuite/icons';
|
||||
|
||||
// FIXME: href changed
|
||||
export const List = [
|
||||
{
|
||||
title: 'All pages',
|
||||
href: '/page-list/all',
|
||||
icon: AllPagesIcon,
|
||||
},
|
||||
{
|
||||
title: 'Favourites',
|
||||
href: '/page-list/favorite',
|
||||
icon: FavouritesIcon,
|
||||
},
|
||||
{
|
||||
title: 'Trash',
|
||||
href: '/page-list/trash',
|
||||
icon: TrashIcon,
|
||||
},
|
||||
];
|
||||
export const config = (currentWorkspaceId: string) => {
|
||||
const List = [
|
||||
{
|
||||
title: 'All pages',
|
||||
href: `/workspace/${currentWorkspaceId}/all`,
|
||||
icon: AllPagesIcon,
|
||||
},
|
||||
{
|
||||
title: 'Favourites',
|
||||
href: `/workspace/${currentWorkspaceId}/favorite`,
|
||||
icon: FavouritesIcon,
|
||||
},
|
||||
{
|
||||
title: 'Trash',
|
||||
href: `/workspace/${currentWorkspaceId}/trash`,
|
||||
icon: TrashIcon,
|
||||
},
|
||||
];
|
||||
return List;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user