mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-23 05:33:08 +03:00
fix(playground): storybook story load issue (#5672)
Since the properties adapter now depends on whenLoaded status of the ydoc, we may need to explicitly mark doc as emit if the workspace is created without using a provider.
This commit is contained in:
parent
c2a978f0f2
commit
994ab96688
@ -37,7 +37,7 @@ DocEditor.loaders = [
|
||||
id: 'test-workspace-id',
|
||||
schema,
|
||||
});
|
||||
|
||||
workspace.doc.emit('sync', []);
|
||||
workspace.meta.setProperties({
|
||||
tags: {
|
||||
options: [],
|
||||
|
Loading…
Reference in New Issue
Block a user