From: Jérôme Benoit Date: Fri, 3 Apr 2026 12:50:27 +0000 (+0200) Subject: refactor(webui): remove redundant CSTable re-mount on toggle X-Git-Tag: ocpp-server@v4.3.0~20 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=30d99fa7d7f8430d1df337814e91e19466edce71;p=e-mobility-charging-stations-simulator.git refactor(webui): remove redundant CSTable re-mount on toggle The @clicked handler on the Add Charging Stations toggle forced a CSTable re-mount on every click. This is unnecessary since watch($chargingStations) already handles re-renders when data changes via WS server notifications. --- diff --git a/ui/web/src/views/ChargingStationsView.vue b/ui/web/src/views/ChargingStationsView.vue index 8034654f..87623609 100644 --- a/ui/web/src/views/ChargingStationsView.vue +++ b/ui/web/src/views/ChargingStationsView.vue @@ -82,11 +82,6 @@ } " :shared="true" - @clicked=" - () => { - state.renderChargingStations = randomUUID() - } - " > Add Charging Stations