fix: cashout empty table image and machine status loading
This commit is contained in:
parent
4b2c3a3b47
commit
04c8213430
2 changed files with 3 additions and 2 deletions
|
|
@ -43,7 +43,7 @@ const MachineStatus = () => {
|
|||
const classes = useStyles()
|
||||
const { state } = useLocation()
|
||||
const addedMachineId = state?.id
|
||||
const { data: machinesResponse, refetch } = useQuery(GET_MACHINES)
|
||||
const { data: machinesResponse, refetch, loading } = useQuery(GET_MACHINES)
|
||||
|
||||
const elements = [
|
||||
{
|
||||
|
|
@ -103,6 +103,7 @@ const MachineStatus = () => {
|
|||
</div>
|
||||
</div>
|
||||
<DataTable
|
||||
loading={loading}
|
||||
elements={elements}
|
||||
data={machines}
|
||||
Details={InnerMachineDetailsRow}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue