fix calculation of total chargers from filtered availability introduced in a0b0339c8b

This commit is contained in:
johan12345
2021-03-28 18:42:07 +02:00
parent a0b0339c8b
commit 24bf66ddbe
2 changed files with 3 additions and 1 deletions

View File

@@ -128,6 +128,8 @@ data class ChargeLocationStatus(
}
return this.copy(status = statusFiltered)
}
val totalChargepoints = status.map { it.key.count }.sum()
}
enum class ChargepointStatus {