From 1baf3be25a6a9fb42d1caa44f7422ae294b3181a Mon Sep 17 00:00:00 2001 From: Guillaume Vincent Date: Thu, 9 Feb 2017 08:05:14 +0100 Subject: [PATCH] set length in options when version change --- src/components/Options.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Options.vue b/src/components/Options.vue index a869353..0ca3011 100644 --- a/src/components/Options.vue +++ b/src/components/Options.vue @@ -122,6 +122,7 @@ }, methods: { setVersion(value){ + this.options.length = value === 1 ? 12 : 16; this.options.version = value; this.$store.dispatch('saveVersion', {version: value}); }