aboutsummaryrefslogtreecommitdiff
path: root/src/App.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/App.js')
-rw-r--r--src/App.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/App.js b/src/App.js
index a2d891f7..1da3ff7c 100644
--- a/src/App.js
+++ b/src/App.js
@@ -29,6 +29,9 @@ export default {
},
scrollToTop () {
window.scrollTo(0, 0)
+ },
+ logout () {
+ this.$store.dispatch('logout')
}
}
}