diff options
| author | Roger Braun <roger@rogerbraun.net> | 2017-07-02 12:25:34 +0200 |
|---|---|---|
| committer | Roger Braun <roger@rogerbraun.net> | 2017-07-02 12:25:34 +0200 |
| commit | 7d59051fc5e93585d8d9858ac989d9ebf7aa3cf9 (patch) | |
| tree | 72eac48366a2e9cb5c21ef484aa74deb45716d4f /src/App.js | |
| parent | b2846893138086023ee43e8919689e659639579a (diff) | |
Add logout button.
Diffstat (limited to 'src/App.js')
| -rw-r--r-- | src/App.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -29,6 +29,9 @@ export default { }, scrollToTop () { window.scrollTo(0, 0) + }, + logout () { + this.$store.dispatch('logout') } } } |
