(status)
| 598 | } |
| 599 | |
| 600 | const getStatusColor = (status) => { |
| 601 | switch (status) { |
| 602 | case 'pending': |
| 603 | return '#ffc107' |
| 604 | case 'completed': |
| 605 | return '#52b69a' |
| 606 | case 'error': |
| 607 | return '#f44336' |
| 608 | default: |
| 609 | return '#bcbcbc' |
| 610 | } |
| 611 | } |
| 612 | |
| 613 | const getPassRateColor = (passPcnt) => { |
| 614 | if (passPcnt > 90) { |