From 9c8f209ef4fe4bd64446e1d7165fe895022c6d98 Mon Sep 17 00:00:00 2001 From: ogerly Date: Tue, 18 May 2021 10:43:50 +0200 Subject: [PATCH] bug fix:mobile menu closes on logout, probs value problem on logout fixed --- frontend/src/components/SidebarPlugin/SideBar.vue | 1 + frontend/src/views/Layout/DashboardLayout_gdd.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/frontend/src/components/SidebarPlugin/SideBar.vue b/frontend/src/components/SidebarPlugin/SideBar.vue index 811baf02e..f1e2a4455 100755 --- a/frontend/src/components/SidebarPlugin/SideBar.vue +++ b/frontend/src/components/SidebarPlugin/SideBar.vue @@ -87,6 +87,7 @@ export default { default: 'img/brand/green.png', description: 'Gradido Sidebar app logo', }, + value: { type: Array }, autoClose: { type: Boolean, default: true, diff --git a/frontend/src/views/Layout/DashboardLayout_gdd.vue b/frontend/src/views/Layout/DashboardLayout_gdd.vue index 575f8a861..d6b9f44ff 100755 --- a/frontend/src/views/Layout/DashboardLayout_gdd.vue +++ b/frontend/src/views/Layout/DashboardLayout_gdd.vue @@ -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') },