From 2ddbca464131708961c5436a38cec5af1220c861 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 29 May 2018 01:55:32 +0900 Subject: [PATCH] Fix bug --- src/client/app/auth/views/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client/app/auth/views/index.vue b/src/client/app/auth/views/index.vue index e53bbd026f..8f4f5fd8c5 100644 --- a/src/client/app/auth/views/index.vue +++ b/src/client/app/auth/views/index.vue @@ -51,7 +51,7 @@ export default Vue.extend({ } }, mounted() { - if (!this.$root.$data.$store.getters.isSignedIn) return; + if (!this.$store.getters.isSignedIn) return; // Fetch session (this as any).api('auth/session/show', { @@ -72,6 +72,7 @@ export default Vue.extend({ } }).catch(error => { this.state = 'fetch-session-error'; + this.fetching = false; }); }, methods: {