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 6d12a591b4 Add asset refresh after import
6d12a591b4 is described below

commit 6d12a591b447f69fc7bc0acdcbc1dca4348389d8
Author: Sven Oehler <[email protected]>
AuthorDate: Mon Jun 15 10:38:38 2026 +0200

    Add asset refresh after import
---
 .../configuration/export/import-dialog/data-import-dialog.component.ts | 3 +++
 1 file changed, 3 insertions(+)

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 7270ca702b..c93859ca09 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
@@ -20,6 +20,7 @@ import { Component, inject } from '@angular/core';
 import {
     DialogRef,
     SpAlertBannerComponent,
+    SpAssetBrowserService,
     SplitSectionComponent,
 } from '@streampipes/shared-ui';
 import { DataExportService } from '../data-export.service';
@@ -82,6 +83,7 @@ export class SpDataImportDialogComponent {
     private dialogRef =
         inject<DialogRef<SpDataImportDialogComponent>>(DialogRef);
     private dataExportService = inject(DataExportService);
+    private assetBrowserService = inject(SpAssetBrowserService);
 
     private translateService = inject(TranslateService);
     currentImportStep = 0;
@@ -136,6 +138,7 @@ export class SpDataImportDialogComponent {
         this.dataExportService
             .triggerImport(this.selectedUploadFile, this.importConfiguration)
             .subscribe(_result => {
+                this.assetBrowserService.refreshBrowserAssetData();
                 this.dialogRef.close();
             });
     }

Reply via email to