You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2025/03/18 18:29:52 UTC
(streampipes) 01/01: fix: Properly update asset tree when adding assets
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 <do...@gmail.com>
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();
}