diff --git a/src/pages/StatusPage.vue b/src/pages/StatusPage.vue index e8623ca56..767578aeb 100644 --- a/src/pages/StatusPage.vue +++ b/src/pages/StatusPage.vue @@ -377,7 +377,7 @@ export default { }, async created() { - this.hasToken = ("token" in localStorage); + this.hasToken = ("token" in this.$root.storage()); // Browser change page // https://stackoverflow.com/questions/7317273/warn-user-before-leaving-web-page-with-unsaved-changes