diff --git a/web/src/App.vue b/web/src/App.vue index d5c9bdb..9f7b9eb 100644 --- a/web/src/App.vue +++ b/web/src/App.vue @@ -7,6 +7,11 @@ export default { return this.$store.state.Session.Token; } }, + methods: { + logout () { + this.$store.dispatch("logout"); + } + }, beforeCreate () { this.$store.commit("initializeStore"); } @@ -16,7 +21,7 @@ export default {