Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
} else if (
this.stationInfo?.supervisionUrlOcppConfiguration === false &&
isNotEmptyString(this.stationInfo?.supervisionUrlOcppKey) &&
} else if (
this.stationInfo?.supervisionUrlOcppConfiguration === false &&
isNotEmptyString(this.stationInfo?.supervisionUrlOcppKey) &&
- getConfigurationKey(this, this.stationInfo.supervisionUrlOcppKey!)
+ !isNullOrUndefined(getConfigurationKey(this, this.stationInfo.supervisionUrlOcppKey!))
) {
deleteConfigurationKey(this, this.stationInfo.supervisionUrlOcppKey!, { save: false });
}
) {
deleteConfigurationKey(this, this.stationInfo.supervisionUrlOcppKey!, { save: false });
}