diff --git a/src/Umbraco.Web.UI.Client/src/packages/templating/stylesheets/tree/stylesheet-tree.repository.ts b/src/Umbraco.Web.UI.Client/src/packages/templating/stylesheets/tree/stylesheet-tree.repository.ts index 236a8a0de4..8f68a1e0dc 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/templating/stylesheets/tree/stylesheet-tree.repository.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/templating/stylesheets/tree/stylesheet-tree.repository.ts @@ -44,7 +44,7 @@ export class UmbStylesheetTreeRepository this.#treeStore?.appendItems(data.items); } - return { data, error }; + return { data, error, asObservable: () => this.#treeStore!.rootItems }; } async requestTreeItemsOf(path: string | null) {