mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 04:48:53 +00:00
feat(core): new worker workspace engine (#9257)
This commit is contained in:
@@ -21,7 +21,7 @@ export async function buildShowcaseWorkspace(
|
||||
|
||||
const { workspace, dispose } = workspacesService.open({ metadata: meta });
|
||||
|
||||
await workspace.engine.waitForRootDocReady();
|
||||
await workspace.engine.doc.waitForDocReady(workspace.id);
|
||||
|
||||
const docsService = workspace.scope.get(DocsService);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user