mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-19 15:26:59 +08:00
e2e(core): add test for split view (#6133)
This commit is contained in:
@@ -80,7 +80,7 @@ export function setupEditorFlags(docCollection: DocCollection) {
|
||||
const syncEditorFlags = () => {
|
||||
try {
|
||||
const editorFlags = getCurrentStore().get(appSettingBaseAtom).editorFlags;
|
||||
Object.entries(editorFlags).forEach(([key, value]) => {
|
||||
Object.entries(editorFlags ?? {}).forEach(([key, value]) => {
|
||||
docCollection.awarenessStore.setFlag(
|
||||
key as keyof BlockSuiteFlags,
|
||||
value
|
||||
|
||||
Reference in New Issue
Block a user