refactor: more coding style fixes
[e-mobility-charging-stations-simulator.git] / src / charging-station / ui-server / ui-services / AbstractUIService.ts
index 448734ba70583b5de1e0997e6e5b618028ab499e..499e96990949e9c89a614e4411b6cbc576a75c43 100644 (file)
@@ -164,7 +164,7 @@ export abstract class AbstractUIService {
     if (isNotEmptyArray(payload.hashIds)) {
       payload.hashIds = payload.hashIds
         ?.map((hashId) => {
-          if (hashId !== undefined && this.uiServer.chargingStations.has(hashId)) {
+          if (hashId != null && this.uiServer.chargingStations.has(hashId)) {
             return hashId
           }
           logger.warn(