From 4fa5ba60c8ea4a1da91401812d840ae9ba0e6d9a Mon Sep 17 00:00:00 2001 From: Yinyin Liu Date: Tue, 19 May 2026 13:36:58 +0200 Subject: [PATCH] empty cluster goes with no battery limitation settings --- .../SodiohomeInstallations/SodistoreHomeConfigurationV2.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/typescript/frontend-marios2/src/content/dashboards/SodiohomeInstallations/SodistoreHomeConfigurationV2.tsx b/typescript/frontend-marios2/src/content/dashboards/SodiohomeInstallations/SodistoreHomeConfigurationV2.tsx index 15034c339..c66553337 100644 --- a/typescript/frontend-marios2/src/content/dashboards/SodiohomeInstallations/SodistoreHomeConfigurationV2.tsx +++ b/typescript/frontend-marios2/src/content/dashboards/SodiohomeInstallations/SodistoreHomeConfigurationV2.tsx @@ -592,6 +592,8 @@ function SodistoreHomeConfigurationV2(props: SodistoreHomeConfigurationProps) { {clusters.map((_slotCount, clIdx) => { const clKey = `Cluster${clIdx + 1}`; const cluster = formValues.devices?.[invKey]?.Clusters?.[clKey]; + // Hide clusters with no installed batteries — Information tab is source of truth. + if (cluster?.BatteryCount === 0) return null; const charge = cluster?.MaxChargingCurrent ?? ''; const discharge = cluster?.MaxDischargingCurrent ?? ''; const setClusterField = (