X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=ui%2Fweb%2Fsrc%2Fviews%2FChargingStationsView.vue;h=094988b101d4f9df3184437e6609f022e046b994;hb=239bd875c259755721a45f2e677bc6cb73d88f7d;hp=db374401ff7d51164501da254c839c4b47fbbfe8;hpb=57c0ba059e47d46ad545d9783920b53ee56c7184;p=e-mobility-charging-stations-simulator.git
diff --git a/ui/web/src/views/ChargingStationsView.vue b/ui/web/src/views/ChargingStationsView.vue
index db374401..094988b1 100644
--- a/ui/web/src/views/ChargingStationsView.vue
+++ b/ui/web/src/views/ChargingStationsView.vue
@@ -1,47 +1,237 @@
-
+
-
-
-
-
-
-
+
+
+
+ {{ state.simulatorState?.started === true ? 'Stop' : 'Start' }} Simulator
+
+ {
+ state.renderChargingStations = randomUUID()
+ }
+ "
+ >
+ Add Charging Stations
+
+ (state.renderChargingStations = randomUUID()))"
/>
0
+ "
+ :key="state.renderChargingStations"
+ :charging-stations="app?.appContext.config.globalProperties.$chargingStations"
+ @need-refresh="
+ () => {
+ state.renderAddChargingStations = randomUUID()
+ state.renderChargingStations = randomUUID()
+ }
"
- :id-tag="state.idTag"
/>