From eeb27da6a0a27a68a6d5af86c288e2bf94b81dca Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 22 Nov 2024 22:47:16 +0100 Subject: [PATCH] refactor: cleanup event handling callbacks MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- ui/web/src/components/charging-stations/CSConnector.vue | 6 +----- ui/web/src/components/charging-stations/CSData.vue | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) 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 -- 2.34.1