RED-8075: fixed conflicting pop-up messages.

This commit is contained in:
Nicoleta Panaghiu 2023-12-15 11:00:30 +02:00
parent 2d9efbeeb6
commit e80e6b9431
2 changed files with 5 additions and 1 deletions

View File

@ -61,7 +61,10 @@ export class EditDossierDictionaryComponent implements OnInit {
false,
this.activeEntryType,
);
} catch (error) {
return { success: false };
}
try {
await this.#updateDossierDictionary();
return { success: true };
} catch (error) {

View File

@ -125,6 +125,7 @@ export class DictionaryService extends EntitiesService<IDictionary, Dictionary>
} else {
this._toaster.error(_('dictionary-overview.error.generic'));
}
throw error;
}
}