[CST-4510] Close collection modal once entity is imported

This commit is contained in:
Giuseppe Digilio
2021-10-15 17:34:04 +02:00
parent ded8a415cf
commit 096a1d8427

View File

@@ -232,6 +232,7 @@ export class ExternalSourceEntryImportModalComponent implements OnInit {
indexableObject: item indexableObject: item
}); });
this.notificationsService.success(this.translateService.get(this.labelPrefix + this.label + '.added.new-entity')); this.notificationsService.success(this.translateService.get(this.labelPrefix + this.label + '.added.new-entity'));
this.modalRef.close();
this.importedObject.emit(searchResult); this.importedObject.emit(searchResult);
}); });
} }