[FIX] Dash battery_table typing

This commit is contained in:
Mikado8231
2023-11-25 13:06:45 +01:00
committed by Florian BEZANNIER
parent cd3ec2a1a9
commit d9799726a5
+1 -1
View File
@@ -147,7 +147,7 @@ def get_figures(car: Car):
'format': deepcopy(nb_format).symbol_suffix(" kWh").precision(2)},
{'id': 'price', 'name': 'price', 'type': 'numeric',
'format': deepcopy(nb_format).symbol_suffix(" " + CURRENCY).precision(2), 'editable': True},
{'id': 'charging_mode', 'name': 'charging mode', 'type': 'string'},
{'id': 'charging_mode', 'name': 'charging mode', 'type': 'text'},
{'id': 'mileage', 'name': 'mileage', 'type': 'numeric', 'format': nb_format},
],
data=[],