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:
Alexander Friedland 2021-05-18 15:40:09 +02:00 committed by GitHub
commit bf3e38922d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -87,6 +87,7 @@ export default {
default: 'img/brand/green.png',
description: 'Gradido Sidebar app logo',
},
value: { type: Array },
autoClose: {
type: Boolean,
default: true,

View File

@ -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')
},