From 00b7ac4a3e7b5c879bd6ce674589f653fab60dcb Mon Sep 17 00:00:00 2001 From: David Date: Fri, 27 Oct 2023 12:12:44 +0200 Subject: [PATCH] B #: Error when getting cluster info (#2794) Signed-off-by: David Carracedo --- src/fireedge/src/client/components/Tabs/Vm/Info/information.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fireedge/src/client/components/Tabs/Vm/Info/information.js b/src/fireedge/src/client/components/Tabs/Vm/Info/information.js index 65c842391b..c749236ee2 100644 --- a/src/fireedge/src/client/components/Tabs/Vm/Info/information.js +++ b/src/fireedge/src/client/components/Tabs/Vm/Info/information.js @@ -77,7 +77,7 @@ const InformationPanel = ({ vm = {}, actions }) => { } = getLastHistory(vm) useEffect(() => { - getCluster({ id: clusterId }) + if (clusterId) getCluster({ id: clusterId }) }, [clusterId]) const clusterName = +clusterId === -1 ? 'default' : cluster?.NAME ?? '--'