From 93626f0260859c491392c24378413e6ab5307ef0 Mon Sep 17 00:00:00 2001 From: amentis Date: Tue, 9 Jul 2024 15:50:24 +0300 Subject: [PATCH] small change --- .../ui/description/overview/description-overview.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/ui/description/overview/description-overview.component.ts b/frontend/src/app/ui/description/overview/description-overview.component.ts index 34b8fb480..995142f01 100644 --- a/frontend/src/app/ui/description/overview/description-overview.component.ts +++ b/frontend/src/app/ui/description/overview/description-overview.component.ts @@ -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 {