Merge branch 'RED-9554' into 'master'
RED-9554: use backend error message for dossier attributes. See merge request redactmanager/red-ui!605
This commit is contained in:
commit
59998396d4
@ -91,7 +91,7 @@ export class AddEditDossierAttributeDialogComponent extends BaseDialogComponent
|
||||
const createOrUpdate = this._dossierAttributesService.createOrUpdate(attribute, this.data.dossierTemplateId);
|
||||
const result = await createOrUpdate.catch((error: HttpErrorResponse) => {
|
||||
this._loadingService.stop();
|
||||
this._toaster.error(_('add-edit-dossier-attribute.error.generic'), { error });
|
||||
this._toaster.rawError(error.error.message);
|
||||
return undefined;
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user