fix(frontend): centralize access device link | close #199
This commit is contained in:
parent
0a0af85c65
commit
3fb5f72788
|
|
@ -79,7 +79,7 @@ export const OverviewLatestOrders = (props) => {
|
||||||
hover
|
hover
|
||||||
key={order.SN}
|
key={order.SN}
|
||||||
>
|
>
|
||||||
<TableCell TableCell align="center">
|
<TableCell align="center">
|
||||||
{order.SN}
|
{order.SN}
|
||||||
</TableCell>
|
</TableCell>
|
||||||
<TableCell>
|
<TableCell>
|
||||||
|
|
@ -97,7 +97,8 @@ export const OverviewLatestOrders = (props) => {
|
||||||
</SeverityPill>
|
</SeverityPill>
|
||||||
</TableCell>
|
</TableCell>
|
||||||
<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"
|
fontSize="small"
|
||||||
sx={{cursor: order.Status == 2 && 'pointer'}}
|
sx={{cursor: order.Status == 2 && 'pointer'}}
|
||||||
onClick={()=>{
|
onClick={()=>{
|
||||||
|
|
@ -106,7 +107,7 @@ export const OverviewLatestOrders = (props) => {
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<ArrowTopRightOnSquareIcon />
|
<ArrowTopRightOnSquareIcon />
|
||||||
</SvgIcon>}
|
</SvgIcon></Button>}
|
||||||
</TableCell>
|
</TableCell>
|
||||||
</TableRow>
|
</TableRow>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user