This is an automated email from the ASF dual-hosted git repository.
riemer pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/streampipes.git
The following commit(s) were added to refs/heads/dev by this push:
new d75f190575 fix: Properly update asset tree when adding assets (#3535)
d75f190575 is described below
commit d75f190575e17480ba14944c67b1e4c07a2f5b41
Author: Dominik Riemer <[email protected]>
AuthorDate: Wed Mar 19 08:28:06 2025 +0100
fix: Properly update asset tree when adding assets (#3535)
---
.../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();
}