diff --git a/src/Umbraco.Web.UI.Client/src/app.ts b/src/Umbraco.Web.UI.Client/src/app.ts index 35bcc3afd1..af690fdd6e 100644 --- a/src/Umbraco.Web.UI.Client/src/app.ts +++ b/src/Umbraco.Web.UI.Client/src/app.ts @@ -63,7 +63,6 @@ export class UmbAppElement extends UmbLitElement { super(); this.#umbIconRegistry.attach(this); this.#uuiIconRegistry.attach(this); - this.#setInitStatus(); } connectedCallback() { @@ -76,6 +75,7 @@ export class UmbAppElement extends UmbLitElement { OpenAPI.WITH_CREDENTIALS = true; this.provideContext('UMBRACOBASE', OpenAPI.BASE); + this.#setInitStatus(); // Listen for the debug event from the component this.addEventListener(umbDebugContextEventType, (event: any) => {