From b86af0abea8231098cba2d5459e542f45db8f969 Mon Sep 17 00:00:00 2001 From: ori agranat Date: Wed, 27 Mar 2019 23:23:01 +0200 Subject: [PATCH] added vuex to range slider --- .../src/components/ThresholdTab.vue | 9 +++------ chameleon-client/src/components/ch-range.vue | 20 +++++++++++++------ 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/chameleon-client/src/components/ThresholdTab.vue b/chameleon-client/src/components/ThresholdTab.vue index 52355002e..f993ca859 100644 --- a/chameleon-client/src/components/ThresholdTab.vue +++ b/chameleon-client/src/components/ThresholdTab.vue @@ -1,8 +1,8 @@ @@ -20,9 +20,6 @@ import chselect from './ch-select.vue' chselect }, methods:{ - onChange: function(key,event) { - this.$store.commit(key, event); - } } } diff --git a/chameleon-client/src/components/ch-range.vue b/chameleon-client/src/components/ch-range.vue index 784232ee1..99030dfa5 100644 --- a/chameleon-client/src/components/ch-range.vue +++ b/chameleon-client/src/components/ch-range.vue @@ -19,20 +19,28 @@