From d591acd3c3993cbd0e72e2670a224e3d97446eba Mon Sep 17 00:00:00 2001 From: Daniel Mohns Date: Wed, 13 Mar 2024 14:38:17 +0100 Subject: [PATCH] chore: Fix Vue2 Syntax error for inline event handling (#58) --- Website/ui/src/modules/Meter/Readings.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Website/ui/src/modules/Meter/Readings.vue b/Website/ui/src/modules/Meter/Readings.vue index 84b547184..e5fb62c71 100644 --- a/Website/ui/src/modules/Meter/Readings.vue +++ b/Website/ui/src/modules/Meter/Readings.vue @@ -38,8 +38,8 @@ :fullscreen-mobile="true" :months-to-show="2" :offset-y="500" - v-on:date-one-selected="function(val) { dates.dateOne = val }" - v-on:date-two-selected="function(val) { dates.dateTwo = val }" + v-on:date-one-selected="(val) => { dates.dateOne = val }" + v-on:date-two-selected="(val) => { dates.dateTwo = val }" @apply="getConsumptions" >