diff client/src/components/Topbar.vue @ 555:f66116b3a249

fix: Reset collapse state of sidebar
author Thomas Junk <thomas.junk@intevation.de>
date Mon, 03 Sep 2018 12:57:33 +0200
parents 89bc8111563a
children 09d8e5483851
line wrap: on
line diff
--- a/client/src/components/Topbar.vue	Mon Sep 03 12:50:43 2018 +0200
+++ b/client/src/components/Topbar.vue	Mon Sep 03 12:57:33 2018 +0200
@@ -83,6 +83,7 @@
     },
     logoff() {
       this.$store.commit("user/clear_auth");
+      this.$store.commit("application/resetSidebar");
       this.$router.push("/login");
     }
   },