needs to be called after setting OpenAPI config

This commit is contained in:
Nathan Woulfe
2023-04-17 13:34:21 +10:00
committed by Jacob Overgaard
parent 72abe48dca
commit 6b68ce68a8

View File

@@ -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 <umb-debug> component
this.addEventListener(umbDebugContextEventType, (event: any) => {