refactor(ui): variable namespace cleanups
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 3 May 2023 19:41:13 +0000 (21:41 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 3 May 2023 19:41:13 +0000 (21:41 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
ui/web/src/components/charging-stations/CSData.vue

index 1c51647e6ce5f686925b57fb25bde32a29c2698b..23c413e969a044af817300d3e7f197d06dbda407 100644 (file)
@@ -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);
         }
       }
     }