mirror of
https://github.com/ev-map/EVMap.git
synced 2026-04-23 15:47:08 -04:00
fix calculation of total chargers from filtered availability introduced in a0b0339c8b
This commit is contained in:
@@ -128,6 +128,8 @@ data class ChargeLocationStatus(
|
||||
}
|
||||
return this.copy(status = statusFiltered)
|
||||
}
|
||||
|
||||
val totalChargepoints = status.map { it.key.count }.sum()
|
||||
}
|
||||
|
||||
enum class ChargepointStatus {
|
||||
|
||||
Reference in New Issue
Block a user