diff --git a/ui-ngx/src/app/shared/components/image/image-gallery.component.ts b/ui-ngx/src/app/shared/components/image/image-gallery.component.ts index 7d76c6bde8..652c9dc214 100644 --- a/ui-ngx/src/app/shared/components/image/image-gallery.component.ts +++ b/ui-ngx/src/app/shared/components/image/image-gallery.component.ts @@ -596,7 +596,11 @@ export class ImageGalleryComponent extends PageComponent implements OnInit, OnDe importImage(): void { this.importExportService.importImage().subscribe((image) => { if (image) { - this.updateData(); + if (this.selectionMode) { + this.imageSelected.next(image); + } else { + this.updateData(); + } } }); }