fix(ui): sync $isStaging on staging area module init

Fixes a case where the canvas is erroneously interactable after refreshing the page while currently staging.
This commit is contained in:
psychedelicious
2024-09-26 19:16:27 +10:00
parent 65ed771f6d
commit 154cd7dd17

View File

@@ -62,6 +62,7 @@ export class CanvasStagingAreaModule extends CanvasModuleBase {
initialize = () => {
this.log.debug('Initializing module');
this.render();
this.$isStaging.set(this.manager.stateApi.runSelector(selectIsStaging));
};
render = async () => {