mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-12 23:56:36 +08:00
feat: disable add-sub-page double-link feature
This commit is contained in:
@@ -103,18 +103,18 @@ export const DoubleLinkMenu = ({
|
||||
items.push({
|
||||
content: {
|
||||
id: ADD_NEW_SUB_PAGE,
|
||||
content: 'Add new sub-page',
|
||||
content: 'Add new page',
|
||||
icon: AddIcon,
|
||||
},
|
||||
});
|
||||
!inAddNewPage &&
|
||||
items.push({
|
||||
content: {
|
||||
id: ADD_NEW_PAGE,
|
||||
content: 'Add new page in...',
|
||||
icon: AddIcon,
|
||||
},
|
||||
});
|
||||
// !inAddNewPage &&
|
||||
// items.push({
|
||||
// content: {
|
||||
// id: ADD_NEW_PAGE,
|
||||
// content: 'Add new page in...',
|
||||
// icon: AddIcon,
|
||||
// },
|
||||
// });
|
||||
return items;
|
||||
}, [searchResultBlocks, inAddNewPage]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user