aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2018-11-10 10:43:25 +0100
committerRoger Braun <roger@rogerbraun.net>2018-11-10 10:43:25 +0100
commitcf581b7d5a29f5164a2c1443cfbcee5cb0901bf8 (patch)
tree088fc1bfe60c7c4f3adc1f96d59100fad1f12057
parent1de382f0265c61b7747795783ffb5185270cd3b1 (diff)
On logout switch to public timeline.
-rw-r--r--src/App.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/App.js b/src/App.js
index 05e3eda3..3bfd307f 100644
--- a/src/App.js
+++ b/src/App.js
@@ -73,6 +73,7 @@ export default {
window.scrollTo(0, 0)
},
logout () {
+ this.$router.replace('/main/public')
this.$store.dispatch('logout')
}
}