diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/tree/tree.context.ts b/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/tree/tree.context.ts index 879e64c3a2..fa0ef9d55c 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/tree/tree.context.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/shared/components/tree/tree.context.ts @@ -30,7 +30,8 @@ export class UmbTreeContextBase implements UmbTreeContext { this.tree = tree; if (this.tree.meta.repository) { - this.repository = new this.tree.meta.repository(this.#host) as UmbTreeRepository; + // TODO: should be using the right extension and the createExtensionClass method. + this.repository = new this.tree.meta.repository(this.#host) as any; } }