From 555f26f747bd968949aea5ee1acc758d22b47535 Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Mon, 6 Feb 2023 16:30:44 +0100 Subject: [PATCH] fix type --- .../src/backoffice/shared/components/tree/tree.context.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 81fe32d80d..879e64c3a2 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,7 @@ export class UmbTreeContextBase implements UmbTreeContext { this.tree = tree; if (this.tree.meta.repository) { - this.repository = new this.tree.meta.repository(this.#host); + this.repository = new this.tree.meta.repository(this.#host) as UmbTreeRepository; } }