Fix RO mode on initial sync
parent
c6624085f0
commit
ccf86a648b
|
@ -305,6 +305,8 @@ export class Client implements ConfigContainer {
|
||||||
} else { // initialSync
|
} else { // initialSync
|
||||||
// Let's load space scripts again, which probably weren't loaded before
|
// Let's load space scripts again, which probably weren't loaded before
|
||||||
await this.clientSystem.loadSpaceScripts();
|
await this.clientSystem.loadSpaceScripts();
|
||||||
|
await this.loadCustomStyles();
|
||||||
|
this.rebuildEditorState();
|
||||||
console.log(
|
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",
|
"Initial sync completed, now need to do a full space index to ensure all pages are indexed using any custom space script indexers",
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue