mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Merge pull request #454 from gradido/436-Bug-Mobile-Login-has-the-Menu-opened-by-default
bug fix:mobile menu closes on logout, probs value problem on logout f…
This commit is contained in:
commit
bf3e38922d
@ -87,6 +87,7 @@ export default {
|
||||
default: 'img/brand/green.png',
|
||||
description: 'Gradido Sidebar app logo',
|
||||
},
|
||||
value: { type: Array },
|
||||
autoClose: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
|
||||
@ -102,6 +102,7 @@ export default {
|
||||
async logout() {
|
||||
await loginAPI.logout(this.$store.state.sessionId)
|
||||
// do we have to check success?
|
||||
this.$sidebar.displaySidebar(false)
|
||||
this.$store.dispatch('logout')
|
||||
this.$router.push('/login')
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user