From 1c4a8fac4cf2334b41412d062b459aa75ca7b7e8 Mon Sep 17 00:00:00 2001
From: Alex ORLUC <alex.orluc@maarch.org>
Date: Mon, 25 Jan 2021 16:45:11 +0100
Subject: [PATCH] FIX #15155 TIME 0:10 fix wording

---
 .../send-to-record-management.component.html                | 4 ++--
 .../send-to-record-management.component.ts                  | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/frontend/app/actions/send-to-record-management-action/send-to-record-management.component.html b/src/frontend/app/actions/send-to-record-management-action/send-to-record-management.component.html
index 78b819060e8..daaab9261ad 100644
--- a/src/frontend/app/actions/send-to-record-management-action/send-to-record-management.component.html
+++ b/src/frontend/app/actions/send-to-record-management-action/send-to-record-management.component.html
@@ -26,8 +26,8 @@
                 </li>
             </ul>
         </div>
-        <div *ngIf="critcalError !== null" class="alert-message alert-message-danger" style="max-width: 100%;">
-            {{critcalError}}
+        <div *ngIf="criticalError !== null" class="alert-message alert-message-danger" style="max-width: 100%;">
+            {{criticalError}}
         </div>
         <ng-container *ngIf="!checking && resources.length > 0">
             <div class="row" style="padding-top: 10px;">
diff --git a/src/frontend/app/actions/send-to-record-management-action/send-to-record-management.component.ts b/src/frontend/app/actions/send-to-record-management-action/send-to-record-management.component.ts
index 5b2e1e50cd6..8083bbd8ab2 100644
--- a/src/frontend/app/actions/send-to-record-management-action/send-to-record-management.component.ts
+++ b/src/frontend/app/actions/send-to-record-management-action/send-to-record-management.component.ts
@@ -29,7 +29,7 @@ export class SendToRecordManagementComponent implements OnInit {
 
     resources: any[] = [];
     resourcesErrors: any[] = [];
-    critcalError: any = null;
+    criticalError: any = null;
 
     dataSource = new MatTableDataSource<any>(this.resources);
 
@@ -99,9 +99,9 @@ export class SendToRecordManagementComponent implements OnInit {
             }),
             catchError((err: any) => {
                 if (!this.functions.empty(err.error.lang)) {
-                    this.critcalError = this.translate.instant('lang.' + err.error.lang)
+                    this.criticalError = this.translate.instant('lang.' + err.error.lang)
                 } else {
-                    this.critcalError = err.error.errors;
+                    this.criticalError = err.error.errors;
                 }
                 this.checking = false;
                 return of(false);
-- 
GitLab