From 62b1db61edc2f245ed117548cfc24be50326bc79 Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Tue, 23 Mar 2021 21:46:05 +0100 Subject: [PATCH] cleanup --- components/Menu.vue | 6 +++--- pages/logging.vue | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/components/Menu.vue b/components/Menu.vue index 82b0a469..12119448 100644 --- a/components/Menu.vue +++ b/components/Menu.vue @@ -46,10 +46,10 @@ export default { }, methods: { - async logout () { + logout () { try { - await this.$store.commit('auth/REMOVE_TOKEN') - await this.$store.commit('auth/UPDATE_IS_LOGIN', false) + this.$store.commit('auth/REMOVE_TOKEN') + this.$store.commit('auth/UPDATE_IS_LOGIN', false) } catch (e) { this.formError = e.message } diff --git a/pages/logging.vue b/pages/logging.vue index 22f033e2..0e250fd6 100644 --- a/pages/logging.vue +++ b/pages/logging.vue @@ -90,11 +90,11 @@ export default { }, watch: { - listDate (date) { + listDate () { this.getLog(this.logName) }, - configID (id) { + configID () { this.getLog(this.logName) } },