Skip to content

Commit

Permalink
Merge pull request #1028 from umbraco/bug-fix/fix-backoffice-context
Browse files Browse the repository at this point in the history
  • Loading branch information
madsrasmussen authored Nov 28, 2023
2 parents 8e41ee0 + a16b919 commit 595e0ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/apps/backoffice/backoffice.element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/libs/class-api/context-base.class.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 595e0ad

Please sign in to comment.