From 78eddc8cb0d0b103c23d452bf47d0eba1e618325 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 3 May 2023 21:41:13 +0200 Subject: [PATCH] refactor(ui): variable namespace cleanups MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- ui/web/src/components/charging-stations/CSData.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } } } -- 2.34.1