new columns

This commit is contained in:
Pritimay Sarkar
2023-11-10 16:17:25 +05:30
parent 89090ff86b
commit eaf87791bd

View File

@@ -49,6 +49,7 @@ const Samples = () => {
<tr> <tr>
<th>Sample Name</th> <th>Sample Name</th>
<th>Device</th> <th>Device</th>
<th>Classification</th>
<th>led1Average</th> <th>led1Average</th>
{/* <th>led2Average</th> */} {/* <th>led2Average</th> */}
<th>led3Average</th> <th>led3Average</th>
@@ -57,13 +58,14 @@ const Samples = () => {
</tr> </tr>
{samples.map((sample, index) => ( {samples.map((sample, index) => (
<tr key={index} className='samples-table-tr'> <tr key={index} className='samples-table-tr'>
<td>{sample.name}</td> <td>{sample.name}</td>
<td>{sample.deviceId}</td> <td>{sample.prdClassification | 'NA'}</td>
<td>{sample.led1Average}</td> <td>{sample.deviceId}</td>
{/* <td>{sample.led2Average || 'NA'}</td> */} <td>{sample.led1Average}</td>
<td>{sample.led3Average || 'NA'}</td> {/* <td>{sample.led2Average || 'NA'}</td> */}
<td>{sample.deviceRatio}</td> <td>{sample.led3Average || 'NA'}</td>
<td>{sample.testTime}</td> <td>{sample.deviceRatio}</td>
<td>{sample.testTime}</td>
</tr> </tr>
))} ))}
</table> </table>