diff --git a/cope2n-fe/src/components/report-detail/report-table.tsx b/cope2n-fe/src/components/report-detail/report-table.tsx index 1b51e11..ae88e73 100644 --- a/cope2n-fe/src/components/report-detail/report-table.tsx +++ b/cope2n-fe/src/components/report-detail/report-table.tsx @@ -131,33 +131,33 @@ const ReportTable: React.FC = () => { }, }, { - title: 'Avg Accuracy', - dataIndex: 'Avg Accuracy', - key: 'Avg Accuracy', + title: 'Avg. Accuracy', + dataIndex: 'Avg. Accuracy', + key: 'Avg. Accuracy', render: (_, record) => { - const isAbnormal = record['Avg Accuracy'] * 100 < 98; + const isAbnormal = record['Avg. Accuracy'] * 100 < 98; return ( <span style={{ color: isAbnormal ? 'red' : '' }}> - {record['Avg Accuracy'] && - (Number(record['Avg Accuracy']) * 100)?.toFixed(2)} - </span> - ); - }, - }, - { - title: 'Avg Client Request Time', - dataIndex: 'Avg. Client Request Time', - key: 'Avg. Client Request Time', - render: (_, record) => { - const isAbnormal = record['Avg Client Request Time'] > 2; - return ( - <span style={{ color: isAbnormal ? 'red' : '' }}> - {record['Avg Client Request Time'] && - Number(record['Avg Client Request Time'])?.toFixed(2)} + {record['Avg. Accuracy'] && + (Number(record['Avg. Accuracy']) * 100)?.toFixed(2)} </span> ); }, }, + // { + // title: 'Avg Client Request Time', + // dataIndex: 'Avg. Client Request Time', + // key: 'Avg. Client Request Time', + // render: (_, record) => { + // const isAbnormal = record['Avg Client Request Time'] > 2; + // return ( + // <span style={{ color: isAbnormal ? 'red' : '' }}> + // {record['Avg Client Request Time'] && + // Number(record['Avg Client Request Time'])?.toFixed(2)} + // </span> + // ); + // }, + // }, { title: 'Avg. OCR Processing Time', dataIndex: 'Avg. OCR Processing Time',