Align 'started' attribute usage to all classes
[e-mobility-charging-stations-simulator.git] / src / ui / web / src / components / charging-stations / CSData.vue
index f4539469ccc97b795e0b7386ed6e40792aefa7d6..a6a819aa45fd14fddcfa5bce3410fc27e9199140 100644 (file)
@@ -8,7 +8,7 @@
       :id-tag="props.idTag"
     />
     <td class="cs-table__name-col">{{ getId() }}</td>
-    <td class="cs-table__stopped-col">{{ getStopped() }}</td>
+    <td class="cs-table__started-col">{{ getStarted() }}</td>
     <td class="cs-table__registration-status-col">{{ getRegistrationStatus() }}</td>
     <td class="cs-table__vendor-col">{{ getVendor() }}</td>
     <td class="cs-table__model-col">{{ getModel() }}</td>
@@ -63,8 +63,8 @@ function getVendor(): string {
 function getFirmwareVersion(): string {
   return Utils.ifUndefined<string>(getInfo().firmwareVersion, 'Ø');
 }
-function getStopped(): string {
-  return props.chargingStation.stopped === true ? 'Yes' : 'No';
+function getStarted(): string {
+  return props.chargingStation.started === true ? 'Yes' : 'No';
 }
 function getRegistrationStatus(): string {
   return props.chargingStation?.bootNotificationResponse?.status ?? 'Ø';