Skip to content
Snippets Groups Projects
Commit 1c4a8fac authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FIX #15155 TIME 0:10 fix wording

parent 3000c482
No related branches found
No related tags found
No related merge requests found
...@@ -26,8 +26,8 @@ ...@@ -26,8 +26,8 @@
</li> </li>
</ul> </ul>
</div> </div>
<div *ngIf="critcalError !== null" class="alert-message alert-message-danger" style="max-width: 100%;"> <div *ngIf="criticalError !== null" class="alert-message alert-message-danger" style="max-width: 100%;">
{{critcalError}} {{criticalError}}
</div> </div>
<ng-container *ngIf="!checking && resources.length > 0"> <ng-container *ngIf="!checking && resources.length > 0">
<div class="row" style="padding-top: 10px;"> <div class="row" style="padding-top: 10px;">
......
...@@ -29,7 +29,7 @@ export class SendToRecordManagementComponent implements OnInit { ...@@ -29,7 +29,7 @@ export class SendToRecordManagementComponent implements OnInit {
resources: any[] = []; resources: any[] = [];
resourcesErrors: any[] = []; resourcesErrors: any[] = [];
critcalError: any = null; criticalError: any = null;
dataSource = new MatTableDataSource<any>(this.resources); dataSource = new MatTableDataSource<any>(this.resources);
...@@ -99,9 +99,9 @@ export class SendToRecordManagementComponent implements OnInit { ...@@ -99,9 +99,9 @@ export class SendToRecordManagementComponent implements OnInit {
}), }),
catchError((err: any) => { catchError((err: any) => {
if (!this.functions.empty(err.error.lang)) { 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 { } else {
this.critcalError = err.error.errors; this.criticalError = err.error.errors;
} }
this.checking = false; this.checking = false;
return of(false); return of(false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment