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 78b819060e88c7a9c02fccbe1679c984b35ed5f2..daaab9261ad791000dde186b7a6fb1c631352077 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 5b2e1e50cd6232116b869fb6b6082158d0362d1e..8083bbd8ab22b03930010898364c5a054c104ced 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);