refactor: more coding style fixes
[e-mobility-charging-stations-simulator.git] / src / charging-station / ocpp / 1.6 / OCPP16IncomingRequestService.ts
index 656d2cb39b16346f8ef717c8e8268ad29a2fb518..94f03ef8b26a4442c34a120212a8775b87866998 100644 (file)
@@ -521,7 +521,7 @@ export class OCPP16IncomingRequestService extends OCPPIncomingRequestService {
       // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
       for (const k of key!) {
         const keyFound = getConfigurationKey(chargingStation, k, true)
-        if (keyFound !== undefined) {
+        if (keyFound != null) {
           if (isUndefined(keyFound.visible)) {
             keyFound.visible = true
           }