RED-4706: Updated toast note when changing default color or entity.

This commit is contained in:
Nicoleta Panaghiu 2022-07-27 14:21:04 +03:00
parent 3cd42a05bf
commit d00c96fb6c
2 changed files with 3 additions and 4 deletions

View File

@ -43,8 +43,7 @@ export class EditColorDialogComponent extends BaseDialogComponent {
await firstValueFrom(this._defaultColorsService.update(colors, this.data.dossierTemplateId));
this._dialogRef.close(true);
this._loadingService.stop();
const color = this._translateService.instant(defaultColorsTranslations[this.data.colorKey]);
this._toaster.info(_('edit-color-dialog.success'), { params: { color: color } });
this._toaster.info(_('edit-color-dialog.success'));
} catch (e) {
this._toaster.error(_('edit-color-dialog.error'));
}

View File

@ -105,7 +105,7 @@
},
"success": {
"create": "Entity added!",
"edit": "Entity updated!"
"edit": "Entity updated. Please note that other users need to refresh the browser to see your changes."
}
},
"add-edit-file-attribute": {
@ -1053,7 +1053,7 @@
"color-placeholder": "Color"
},
"save": "Save",
"success": "Successfully updated color for {color}."
"success": "Color saved successfully. Please note that the users need to refresh the browser to see the updated color."
},
"edit-dossier-dialog": {
"actions": {