mirror of
https://github.com/OpenNebula/one.git
synced 2025-08-29 09:49:28 +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:
@ -32,7 +32,7 @@ import { Tr } from 'client/components/HOC'
|
|||||||
const HostGraphTab = ({ id }) => {
|
const HostGraphTab = ({ id }) => {
|
||||||
const {
|
const {
|
||||||
data: { MONITORING_DATA: { MONITORING: monitoring = [] } = {} } = {},
|
data: { MONITORING_DATA: { MONITORING: monitoring = [] } = {} } = {},
|
||||||
} = useGetHostMonitoringQuery(id) || {}
|
} = useGetHostMonitoringQuery({ id: id }) || {}
|
||||||
|
|
||||||
const cpuMemoryData = (
|
const cpuMemoryData = (
|
||||||
Array.isArray(monitoring) ? monitoring : [monitoring]
|
Array.isArray(monitoring) ? monitoring : [monitoring]
|
||||||
|
Reference in New Issue
Block a user