Merge pull request #1028 from umbraco/bug-fix/fix-backoffice-context

This commit is contained in:
Mads Rasmussen
2023-11-28 15:03:17 +01:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -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);

View File

@@ -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);
}
}