RED-10634 - closed "edit component view" when component is deleted

This commit is contained in:
Valentin Mihai 2024-12-06 20:33:31 +02:00
parent 568bb696a7
commit 96532fa61e
2 changed files with 2 additions and 1 deletions

View File

@ -102,6 +102,7 @@ export default class ComponentDefinitionsComponent extends BaseFormComponent imp
this._dialogService.openDialog('confirm', null, async () => {
await firstValueFrom(this._componentDefinitionsService.deleteComponentDefinitions(this.#dossierTemplateId, [componentId]));
await this.#loadData();
this.selectedComponent = null;
});
}

@ -1 +1 @@
Subproject commit 7bb24c4f919faa2525c728315c4f679b1af45842
Subproject commit 0e6e4f7b090bdd747e9e8db65201b4e8a4ff76b8