- --this.chargingStationsByTemplate.get(data.stationInfo.templateName)!.added
- this.chargingStationsByTemplate
- .get(data.stationInfo.templateName)
- ?.indexes.delete(data.stationInfo.templateIndex)
+ const templateChargingStations = this.templatesChargingStations.get(
+ data.stationInfo.templateName
+ )!
+ --templateChargingStations.added
+ templateChargingStations.indexes.delete(data.stationInfo.templateIndex)