RED-8075: fixed conflicting pop-up messaged.
This commit is contained in:
parent
ef7fd2fc1c
commit
83fd9b8c00
@ -58,6 +58,10 @@ export class EditDossierDictionaryComponent implements EditDossierSectionInterfa
|
||||
this.dossier.id,
|
||||
false,
|
||||
);
|
||||
} catch (error) {
|
||||
return { success: false };
|
||||
}
|
||||
try {
|
||||
await this._updateDossierDictionary();
|
||||
return { success: true };
|
||||
} catch (error) {
|
||||
|
||||
@ -145,6 +145,7 @@ export class DictionaryService extends EntitiesService<IDictionary, Dictionary>
|
||||
} catch (error) {
|
||||
if ((error as HttpErrorResponse).status === 400) {
|
||||
this._toaster.error(_('dictionary-overview.error.400'));
|
||||
throw error;
|
||||
} else {
|
||||
this._toaster.error(_('dictionary-overview.error.generic'));
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user