to string for context token

This commit is contained in:
Niels Lyngsø
2024-01-19 13:33:16 +01:00
parent 43070aca04
commit 71c49ceb20
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ import { UmbLitElement } from '@umbraco-cms/internal/lit-element';
@customElement('umb-inline-list-block')
export class UmbInlineListBlockElement extends UmbLitElement {
render() {
return 'inline mode..';
return 'INLINE EDITING';
}
}

View File

@@ -60,7 +60,7 @@ export abstract class UmbBlockContext<
}
constructor(host: UmbControllerHost, blockManagerContextToken: BlockManagerContextTokenType) {
super(host, UMB_BLOCK_CONTEXT);
super(host, UMB_BLOCK_CONTEXT.toString());
// Consume block manager:
this.consumeContext(blockManagerContextToken, (manager) => {