From: Jérôme Benoit Date: Fri, 22 Nov 2024 21:47:16 +0000 (+0100) Subject: refactor: cleanup event handling callbacks X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;p=e-mobility-charging-stations-simulator.git refactor: cleanup event handling callbacks Signed-off-by: Jérôme Benoit --- diff --git a/ui/web/src/components/charging-stations/CSConnector.vue b/ui/web/src/components/charging-stations/CSConnector.vue index 8f19083b..618e4036 100644 --- a/ui/web/src/components/charging-stations/CSConnector.vue +++ b/ui/web/src/components/charging-stations/CSConnector.vue @@ -29,11 +29,7 @@ } " :shared="true" - @clicked=" - () => { - $emit('need-refresh') - } - " + @clicked="$emit('need-refresh')" > Start Transaction diff --git a/ui/web/src/components/charging-stations/CSData.vue b/ui/web/src/components/charging-stations/CSData.vue index d735ca32..8496d6a8 100644 --- a/ui/web/src/components/charging-stations/CSData.vue +++ b/ui/web/src/components/charging-stations/CSData.vue @@ -53,11 +53,7 @@ } " :shared="true" - @clicked=" - () => { - $emit('need-refresh') - } - " + @clicked="$emit('need-refresh')" > Set Supervision Url