fix(core): incorrect blocksuite data format (#4039)

This commit is contained in:
Alex Yang
2023-08-30 00:04:16 -05:00
committed by GitHub
parent 82f8ac50de
commit 00e7cf9a06
4 changed files with 40 additions and 8 deletions
+1
View File
@@ -23,6 +23,7 @@ export const loader: LoaderFunction = async () => {
const target = (lastId && meta.find(({ id }) => id === lastId)) || meta.at(0);
if (target) {
const targetWorkspace = getWorkspace(target.id);
const nonTrashPages = targetWorkspace.meta.pageMetas.filter(
({ trash }) => !trash
);