add sample flow
This commit is contained in:
@@ -128,7 +128,7 @@ const Devices = () => {
|
||||
|
||||
<div className='graph-person-conatiner'>
|
||||
{!curTestData && <div className='refresh-graph-message'>Select test device, date and person to get the detailed graph. Then, click show button to render graph.</div>}
|
||||
{curTestData?.csvPath && <DeviceGraph url={curTestData?.csvPath} show={showGraph} />}
|
||||
{curTestData?.csvPath && curTestData?.testType !== 'HEMOCUBE' && <DeviceGraph url={curTestData?.csvPath} show={showGraph} />}
|
||||
|
||||
{curTestData && <div className='test-details'>
|
||||
<table>
|
||||
@@ -151,6 +151,14 @@ const Devices = () => {
|
||||
<tr>
|
||||
<td>result</td> <td>{curTestData?.result}</td>
|
||||
</tr>
|
||||
{curTestData?.testType === 'HEMOCUBE' && <tr>
|
||||
<td>device data</td>
|
||||
<td>{curTestData?.calculatedRatio}</td>
|
||||
</tr>}
|
||||
{curTestData?.testType === 'HEMOCUBE' && <tr>
|
||||
<td>device data</td>
|
||||
<td>{curTestData?.deviceRatio}</td>
|
||||
</tr>}
|
||||
</table>
|
||||
{/* <img src={curTestData?.userImageURL} width={100} height={150} /> */}
|
||||
</div>}
|
||||
|
||||
Reference in New Issue
Block a user