diff --git a/frontend/src/components/SidebarPlugin/SideBar.vue b/frontend/src/components/SidebarPlugin/SideBar.vue index c1aca6b12..7b0831382 100755 --- a/frontend/src/components/SidebarPlugin/SideBar.vue +++ b/frontend/src/components/SidebarPlugin/SideBar.vue @@ -132,8 +132,8 @@ export default { this.$sidebar.displaySidebar(true) }, logout() { - this.$router.push('/login') this.$store.dispatch('logout') + this.$router.push('/login') }, }, beforeDestroy() {