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 {
this.loadFileTableData({});
break;
case 'submit':
if (event.data.status === 'Completed') {
if (event.data.status.toLowerCase() === 'completed') {
this._toast.toast('warning', '', 'The file has already been submitted.', true);
} else {
this.submitAllRecords();
}
break;
case 'cellClick':
if (event.data.status === 'Completed') {
if (event.data.status.toLowerCase() === 'completed') {
this._toast.toast('warning', '', 'The file has already been validated.', true);
} else {
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