mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-18 06:03:39 +03:00
B OpenNebula/one#6788: Fix host graph API call (#3324)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
This commit is contained in:
parent
0f8566764b
commit
7161126775
@ -32,7 +32,7 @@ import { Tr } from 'client/components/HOC'
|
||||
const HostGraphTab = ({ id }) => {
|
||||
const {
|
||||
data: { MONITORING_DATA: { MONITORING: monitoring = [] } = {} } = {},
|
||||
} = useGetHostMonitoringQuery(id) || {}
|
||||
} = useGetHostMonitoringQuery({ id: id }) || {}
|
||||
|
||||
const cpuMemoryData = (
|
||||
Array.isArray(monitoring) ? monitoring : [monitoring]
|
||||
|
Loading…
x
Reference in New Issue
Block a user