From: Jérôme Benoit Date: Wed, 3 May 2023 19:41:13 +0000 (+0200) Subject: refactor(ui): variable namespace cleanups X-Git-Tag: v1.2.12~10 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=78eddc8cb0d0b103c23d452bf47d0eba1e618325;p=e-mobility-charging-stations-simulator.git refactor(ui): variable namespace cleanups Signed-off-by: Jérôme Benoit --- diff --git a/ui/web/src/components/charging-stations/CSData.vue b/ui/web/src/components/charging-stations/CSData.vue index 1c51647e..23c413e9 100644 --- a/ui/web/src/components/charging-stations/CSData.vue +++ b/ui/web/src/components/charging-stations/CSData.vue @@ -47,8 +47,8 @@ function getConnectors(): ConnectorStatus[] { const connectorsStatus: ConnectorStatus[] = []; for (const [evseId, evseStatus] of props.chargingStation.evses.entries()) { if (evseId > 0 && Array.isArray(evseStatus.connectors) && evseStatus.connectors.length > 0) { - for (const connector of evseStatus.connectors) { - connectorsStatus.push(connector); + for (const connectorStatus of evseStatus.connectors) { + connectorsStatus.push(connectorStatus); } } }