Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
private async restart (): Promise<void> {
await this.stop()
Configuration.getConfigurationSection<UIServerConfiguration>(ConfigurationSection.uiServer)
- .enabled === false && this.uiServer?.stop()
+ .enabled !== true && this.uiServer?.stop()
this.initializedCounters = false
await this.start()
}
if (
this.numberOfConfiguredChargingStations === 0 &&
Configuration.getConfigurationSection<UIServerConfiguration>(ConfigurationSection.uiServer)
- .enabled === true
+ .enabled !== true
) {
console.error(
chalk.red(