fix(frontend): centralize access device link | close #199

This commit is contained in:
leandrofars 2024-04-30 17:53:14 -03:00
parent 0a0af85c65
commit 3fb5f72788

View File

@ -79,7 +79,7 @@ export const OverviewLatestOrders = (props) => {
hover
key={order.SN}
>
<TableCell TableCell align="center">
<TableCell align="center">
{order.SN}
</TableCell>
<TableCell>
@ -97,7 +97,8 @@ export const OverviewLatestOrders = (props) => {
</SeverityPill>
</TableCell>
<TableCell>
{ order.Mqtt == 0 && order.Websockets == 0 && order.Stomp == 0 ? <span></span>: <SvgIcon
{ order.Mqtt == 0 && order.Websockets == 0 && order.Stomp == 0 ? <span></span>: <Button>
<SvgIcon
fontSize="small"
sx={{cursor: order.Status == 2 && 'pointer'}}
onClick={()=>{
@ -106,7 +107,7 @@ export const OverviewLatestOrders = (props) => {
}
>
<ArrowTopRightOnSquareIcon />
</SvgIcon>}
</SvgIcon></Button>}
</TableCell>
</TableRow>
);