small change
This commit is contained in:
parent
293b351d5c
commit
93626f0260
|
@ -331,7 +331,7 @@ export class DescriptionOverviewComponent extends BaseComponent implements OnIni
|
||||||
}
|
}
|
||||||
|
|
||||||
private onUpdateCallbackError(error) {
|
private onUpdateCallbackError(error) {
|
||||||
this.uiNotificationService.snackBarNotification(error.error.message ? this.tryTranslate(error.error.message) : this.language.instant('DESCRIPTION-UPLOAD.SNACK-BAR.UNSUCCESSFUL'), SnackBarNotificationLevel.Error);
|
this.httpErrorHandlingService.handleBackedRequestError(error);
|
||||||
}
|
}
|
||||||
|
|
||||||
private tryTranslate(errorMessage: string): string {
|
private tryTranslate(errorMessage: string): string {
|
||||||
|
|
Loading…
Reference in New Issue