Refine UI protocol documentation
[e-mobility-charging-stations-simulator.git] / src / ui / web / src / components / charging-stations / CSData.vue
index 3de9a7d6ebe4d0d41ac43e031aedcbd8d83aee98..ea8fd1da86569ad5870dabce006ec0c7dfbf49eb 100644 (file)
@@ -46,7 +46,7 @@ function getHashId(): string {
   return props.chargingStation.hashId;
 }
 function getConnectors(): ConnectorStatus[] {
-  return props.chargingStation.connectors.slice(1);
+  return props.chargingStation.connectors?.slice(1);
 }
 function getInfo(): ChargingStationInfo {
   return props.chargingStation.stationInfo;