diff --git a/src/apps/backoffice/backoffice.element.ts b/src/apps/backoffice/backoffice.element.ts index 4ed3fc5131..c033914f78 100644 --- a/src/apps/backoffice/backoffice.element.ts +++ b/src/apps/backoffice/backoffice.element.ts @@ -40,6 +40,7 @@ export class UmbBackofficeElement extends UmbLitElement { constructor() { super(); + new UmbBackofficeContext(this); new UmbBundleExtensionInitializer(this, umbExtensionsRegistry); new UmbEntryPointExtensionInitializer(this, umbExtensionsRegistry); new UmbServerExtensionRegistrator(this, umbExtensionsRegistry); diff --git a/src/libs/class-api/context-base.class.ts b/src/libs/class-api/context-base.class.ts index 9809888646..5c1a721c26 100644 --- a/src/libs/class-api/context-base.class.ts +++ b/src/libs/class-api/context-base.class.ts @@ -12,6 +12,6 @@ export abstract class UmbContextBase< > extends UmbBaseController { constructor(host: UmbControllerHost, contextToken: GivenContextToken | string) { super(host, contextToken.toString()); - //this.provideContext(contextToken, this as unknown as ContextType); + this.provideContext(contextToken, this as unknown as ContextType); } }