feat: show ping time and network speed

This commit is contained in:
André Sá 2021-10-22 10:12:16 +01:00
parent 6da243ea7f
commit fc51f0347b

View file

@ -1,6 +1,6 @@
import { Grid /*, Divider */ } from '@material-ui/core' import { Grid /*, Divider */ } from '@material-ui/core'
import { makeStyles } from '@material-ui/core/styles' import { makeStyles } from '@material-ui/core/styles'
// import BigNumber from 'bignumber.js' import BigNumber from 'bignumber.js'
import moment from 'moment' import moment from 'moment'
import React from 'react' import React from 'react'
@ -106,7 +106,7 @@ const MachineDetailsRow = ({ it: machine, onActionSuccess }) => {
machine={machine} machine={machine}
onActionSuccess={onActionSuccess}></MachineActions> onActionSuccess={onActionSuccess}></MachineActions>
</Item> </Item>
{/* <Item xs={2}> <Item xs={2}>
<Label>Network speed</Label> <Label>Network speed</Label>
<span> <span>
{machine.downloadSpeed {machine.downloadSpeed
@ -132,7 +132,7 @@ const MachineDetailsRow = ({ it: machine, onActionSuccess }) => {
' %' ' %'
: 'unavailable'} : 'unavailable'}
</span> </span>
</Item> */} </Item>
</Container> </Container>
</Item> </Item>
</Container> </Container>