Mercurial > gemma
comparison client/src/components/Sidebar.vue @ 1294:b9fd587d8ea0
removed console.log
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Thu, 22 Nov 2018 14:05:30 +0100 |
parents | e1480ad4b6b0 |
children | 99c039e86624 |
comparison
equal
deleted
inserted
replaced
1292:5aeda02c51b9 | 1294:b9fd587d8ea0 |
---|---|
102 }, | 102 }, |
103 methods: { | 103 methods: { |
104 logoff() { | 104 logoff() { |
105 this.$store.commit("user/clearAuth"); | 105 this.$store.commit("user/clearAuth"); |
106 this.$store.commit("application/showSidebar", false); | 106 this.$store.commit("application/showSidebar", false); |
107 this.$store.commit("application/showUsermenu", false); | |
108 this.$store.commit("application/showSplitscreen", false); | 107 this.$store.commit("application/showSplitscreen", false); |
108 this.$store.dispatch("fairwayprofile/clearSelection"); | |
109 this.$router.push("/login"); | 109 this.$router.push("/login"); |
110 }, | 110 }, |
111 toggleContextBox(context) { | 111 toggleContextBox(context) { |
112 this.$router.push("/"); | 112 this.$router.push("/"); |
113 this.$store.commit("application/showContextBox", true); | 113 this.$store.commit("application/showContextBox", true); |