From 3912766982ffe81cb699b87cfee2f7fe6454c816 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20Midb=C3=B8e?= Date: Thu, 20 Feb 2020 14:09:08 +0100 Subject: [PATCH] Reverted active logic for seasonedButton. --- src/components/ui/SeasonedButton.vue | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/components/ui/SeasonedButton.vue b/src/components/ui/SeasonedButton.vue index 8e2e9f5..28da75d 100644 --- a/src/components/ui/SeasonedButton.vue +++ b/src/components/ui/SeasonedButton.vue @@ -1,6 +1,6 @@ @@ -13,17 +13,8 @@ export default { active: Boolean, default: false }, - data() { - isActive: false - }, - beforeMount() { - if (this.active) { - this.isActive = this.active; - } - }, methods: { emit() { - this.isActive = !this.isActive; this.$emit('click') } }