fix(frontend): click area to get device data
This commit is contained in:
parent
a298fe0c3a
commit
d36df6c9f3
|
|
@ -97,14 +97,14 @@ export const OverviewLatestOrders = (props) => {
|
||||||
</SeverityPill>
|
</SeverityPill>
|
||||||
</TableCell>
|
</TableCell>
|
||||||
<TableCell>
|
<TableCell>
|
||||||
{ order.Mqtt == 0 && order.Websockets == 0 && order.Stomp == 0 ? <span></span>: <Button>
|
{ order.Mqtt == 0 && order.Websockets == 0 && order.Stomp == 0 ? <span></span>: <Button
|
||||||
|
onClick={()=>{
|
||||||
|
router.push("devices/"+order.SN+"/discovery")
|
||||||
|
}
|
||||||
|
}>
|
||||||
<SvgIcon
|
<SvgIcon
|
||||||
fontSize="small"
|
fontSize="small"
|
||||||
sx={{cursor: order.Status == 2 && 'pointer'}}
|
sx={{cursor: order.Status == 2 && 'pointer'}}
|
||||||
onClick={()=>{
|
|
||||||
router.push("devices/"+order.SN+"/discovery")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
>
|
>
|
||||||
<ArrowTopRightOnSquareIcon />
|
<ArrowTopRightOnSquareIcon />
|
||||||
</SvgIcon></Button>}
|
</SvgIcon></Button>}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user