mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
commit lohout to store before redirect
This commit is contained in:
parent
dd9b10a4cb
commit
bc53844c7b
@ -132,8 +132,8 @@ export default {
|
||||
this.$sidebar.displaySidebar(true)
|
||||
},
|
||||
logout() {
|
||||
this.$router.push('/login')
|
||||
this.$store.dispatch('logout')
|
||||
this.$router.push('/login')
|
||||
},
|
||||
},
|
||||
beforeDestroy() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user