Fix RO mode on initial sync

pull/1212/head^2
Zef Hemel 2025-01-30 15:54:22 +01:00
parent c6624085f0
commit ccf86a648b
1 changed files with 2 additions and 0 deletions

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",
);