small change

This commit is contained in:
amentis 2024-07-09 15:50:24 +03:00
parent 293b351d5c
commit 93626f0260
1 changed files with 1 additions and 1 deletions

View File

@ -331,7 +331,7 @@ export class DescriptionOverviewComponent extends BaseComponent implements OnIni
}
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 {