Skip to content

Commit

Permalink
B #6788: Fix host graph API call (#3324)
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
  • Loading branch information
vichansson authored Dec 11, 2024
1 parent 0f85667 commit 7161126
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 7161126

Please sign in to comment.