Commit d200e814 authored by sai.sandeep's avatar sai.sandeep

Update landing.component.ts

parent f7e89cb8
...@@ -286,14 +286,14 @@ export class LandingComponent implements OnInit { ...@@ -286,14 +286,14 @@ export class LandingComponent implements OnInit {
this.loadFileTableData({}); this.loadFileTableData({});
break; break;
case 'submit': case 'submit':
if (event.data.status === 'Completed') { if (event.data.status.toLowerCase() === 'completed') {
this._toast.toast('warning', '', 'The file has already been submitted.', true); this._toast.toast('warning', '', 'The file has already been submitted.', true);
} else { } else {
this.submitAllRecords(); this.submitAllRecords();
} }
break; break;
case 'cellClick': case 'cellClick':
if (event.data.status === 'Completed') { if (event.data.status.toLowerCase() === 'completed') {
this._toast.toast('warning', '', 'The file has already been validated.', true); this._toast.toast('warning', '', 'The file has already been validated.', true);
} else { } else {
this.loadRecordsTableData(event.data); this.loadRecordsTableData(event.data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment