From 3843aa3c37abe43fbf86273a1edbfc3713368d5a Mon Sep 17 00:00:00 2001 From: stevapple Date: Thu, 2 Apr 2020 18:02:58 +0800 Subject: [PATCH] fix: mode listeners not removed --- components/Mode/ModePicker.vue | 20 ++++++++------------ components/Mode/setMode.js | 26 ++++++++++++++++++++------ 2 files changed, 28 insertions(+), 18 deletions(-) diff --git a/components/Mode/ModePicker.vue b/components/Mode/ModePicker.vue index b9602dc..29195d1 100644 --- a/components/Mode/ModePicker.vue +++ b/components/Mode/ModePicker.vue @@ -6,14 +6,14 @@ v-for="(mode, index) in modeOptions" :key="index" :class="getClass(mode.mode)" - @click="selectMode(mode)" + @click="selectMode(mode.mode)" >{{ mode.title }}