From a6e66f17078dc111a112ca446037e13ddb83b739 Mon Sep 17 00:00:00 2001 From: dartcafe Date: Wed, 29 Jan 2020 00:06:12 +0100 Subject: [PATCH] changelog.md and linting --- CHANGELOG.md | 1 + src/js/components/Subscription/Subscription.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 30c02a680..d1dafccb4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ All notable changes to this project will be documented in this file. - delete comments (#193) - Enter user name in public shared polls in a modal - fixed routing error in NC16 (#787) + - load subscription on route change (#788) ## [1.1.6] - 2020-01-26 diff --git a/src/js/components/Subscription/Subscription.vue b/src/js/components/Subscription/Subscription.vue index 0be238196..55666acb3 100644 --- a/src/js/components/Subscription/Subscription.vue +++ b/src/js/components/Subscription/Subscription.vue @@ -49,7 +49,7 @@ export default { } } }, - + watch: { $route() { this.$store.dispatch('getSubscription', { pollId: this.$route.params.id })