Fix RO mode on initial sync

This commit is contained in:
Zef Hemel
2025-01-30 15:54:34 +01:00
parent c6624085f0
commit ccf86a648b
+2
View File
@@ -305,6 +305,8 @@ export class Client implements ConfigContainer {
} else { // initialSync
// Let's load space scripts again, which probably weren't loaded before
await this.clientSystem.loadSpaceScripts();
await this.loadCustomStyles();
this.rebuildEditorState();
console.log(
"Initial sync completed, now need to do a full space index to ensure all pages are indexed using any custom space script indexers",
);