bug fix:mobile menu closes on logout, probs value problem on logout fixed

This commit is contained in:
ogerly 2021-05-18 10:43:50 +02:00
parent 99918c777d
commit 9c8f209ef4
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')
},