feat: refactor trash, page would delete from its parent's subpageIds after move to trash (#1871)

This commit is contained in:
Qi
2023-04-12 14:14:57 +08:00
committed by GitHub
parent ba4a2fc9d2
commit af04c1b889
12 changed files with 119 additions and 82 deletions

View File

@@ -34,7 +34,7 @@ export const Pinboard = ({
);
const { data } = usePinboardData({
metas: allMetas.filter(meta => !meta.trash),
metas: allMetas,
pinboardRender: PinboardRender,
blockSuiteWorkspace: blockSuiteWorkspace,
onClick: handlePinboardClick,