Merge remote-tracking branch 'origin/bug-fix/fix-backoffice-context' into feature/rename-to-workspace-view

This commit is contained in:
Niels Lyngsø
2023-11-28 15:02:15 +01:00
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);
}
}