This is an automated email from the ASF dual-hosted git repository. riemer pushed a commit to branch fix-asset-browser-tree in repository https://gitbox.apache.org/repos/asf/streampipes.git
commit 29edf845d796e07ae4610183d6f85175397de9a2 Author: Dominik Riemer <[email protected]> AuthorDate: Tue Mar 18 19:29:03 2025 +0100 fix: Properly update asset tree when adding assets --- .../edit-asset/asset-selection-panel/asset-selection-panel.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/app/assets/components/asset-details/edit-asset/asset-selection-panel/asset-selection-panel.component.ts b/ui/src/app/assets/components/asset-details/edit-asset/asset-selection-panel/asset-selection-panel.component.ts index 80674a89ed..a13bdd1a49 100644 --- a/ui/src/app/assets/components/asset-details/edit-asset/asset-selection-panel/asset-selection-panel.component.ts +++ b/ui/src/app/assets/components/asset-details/edit-asset/asset-selection-panel/asset-selection-panel.component.ts @@ -95,7 +95,7 @@ export class SpAssetSelectionPanelComponent implements OnInit { } rerenderTree(): void { - this.dataSource.data = null; + this.dataSource.data = []; this.dataSource.data = [this.assetModel]; this.treeControl.expandAll(); }
