This is an automated email from the ASF dual-hosted git repository.
SvenO3 pushed a commit to branch
4528-imported-assets-are-not-visible-until-manual-page-refresh
in repository https://gitbox.apache.org/repos/asf/streampipes.git
The following commit(s) were added to
refs/heads/4528-imported-assets-are-not-visible-until-manual-page-refresh by
this push:
new 01fc7d30a8 Refresh export assets after import
01fc7d30a8 is described below
commit 01fc7d30a8d650cd29eb7eb74762e42ed283a992
Author: Sven Oehler <[email protected]>
AuthorDate: Mon Jun 15 10:53:27 2026 +0200
Refresh export assets after import
---
ui/src/app/configuration/export/data-export-import.component.ts | 6 +++++-
.../export/import-dialog/data-import-dialog.component.ts | 2 +-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/ui/src/app/configuration/export/data-export-import.component.ts
b/ui/src/app/configuration/export/data-export-import.component.ts
index 4b979170c0..b9b06a1873 100644
--- a/ui/src/app/configuration/export/data-export-import.component.ts
+++ b/ui/src/app/configuration/export/data-export-import.component.ts
@@ -118,6 +118,10 @@ export class SpDataExportImportComponent implements OnInit
{
data: {},
});
- dialogRef.afterClosed().subscribe(() => {});
+ dialogRef.afterClosed().subscribe(result => {
+ if (result === 'import') {
+ this.loadAssets();
+ }
+ });
}
}
diff --git
a/ui/src/app/configuration/export/import-dialog/data-import-dialog.component.ts
b/ui/src/app/configuration/export/import-dialog/data-import-dialog.component.ts
index c93859ca09..6a95b69b63 100644
---
a/ui/src/app/configuration/export/import-dialog/data-import-dialog.component.ts
+++
b/ui/src/app/configuration/export/import-dialog/data-import-dialog.component.ts
@@ -139,7 +139,7 @@ export class SpDataImportDialogComponent {
.triggerImport(this.selectedUploadFile, this.importConfiguration)
.subscribe(_result => {
this.assetBrowserService.refreshBrowserAssetData();
- this.dialogRef.close();
+ this.dialogRef.close('import');
});
}