Merge pull request #870 from SiIky/feat/LREw24bI/add_device_id_to_machine_dashboard
feat: add device ID to machine dashboard
This commit is contained in:
commit
7c816668cf
1 changed files with 11 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ import React from 'react'
|
||||||
import { Status } from 'src/components/Status'
|
import { Status } from 'src/components/Status'
|
||||||
import MachineActions from 'src/components/machineActions/MachineActions'
|
import MachineActions from 'src/components/machineActions/MachineActions'
|
||||||
import { H3, Label3, P } from 'src/components/typography'
|
import { H3, Label3, P } from 'src/components/typography'
|
||||||
|
import CopyToClipboard from 'src/pages/Transactions/CopyToClipboard.js'
|
||||||
|
|
||||||
import styles from '../Machines.styles'
|
import styles from '../Machines.styles'
|
||||||
const useStyles = makeStyles(styles)
|
const useStyles = makeStyles(styles)
|
||||||
|
|
@ -67,6 +68,16 @@ const Overview = ({ data, onActionSuccess }) => {
|
||||||
machine={data}
|
machine={data}
|
||||||
onActionSuccess={onActionSuccess}></MachineActions>
|
onActionSuccess={onActionSuccess}></MachineActions>
|
||||||
</div>
|
</div>
|
||||||
|
<div className={classes.row}>
|
||||||
|
<div className={classes.rowItem}>
|
||||||
|
<Label3 className={classes.label3}>Device ID</Label3>
|
||||||
|
<P>
|
||||||
|
<CopyToClipboard buttonClassname={classes.copyToClipboard}>
|
||||||
|
{data.deviceId}
|
||||||
|
</CopyToClipboard>
|
||||||
|
</P>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue