Mercurial > gemma
changeset 2412:0ed53a7a1221
login fixed
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Thu, 28 Feb 2019 12:29:12 +0100 |
parents | 27d3e9eda8b6 |
children | f39c4b432601 4625ae70f076 |
files | client/src/router.js |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/router.js Thu Feb 28 12:16:27 2019 +0100 +++ b/client/src/router.js Thu Feb 28 12:29:12 2019 +0100 @@ -168,7 +168,7 @@ requiresAuth: true }, beforeEnter: (to, from, next) => { - this.$store.commit("application/searchQuery", ""); + store.commit("application/searchQuery", ""); store.commit("application/showContextBox", false); store.commit("application/contextBoxContent", ""); store.commit("application/showSearchbar", false); @@ -183,7 +183,7 @@ requiresAuth: true }, beforeEnter: (to, from, next) => { - this.$store.commit("application/searchQuery", ""); + store.commit("application/searchQuery", ""); store.commit("application/showContextBox", true); store.commit("application/contextBoxContent", "bottlenecks"); store.commit("application/showSearchbar", true); @@ -202,7 +202,7 @@ if (!isWaterwayAdmin) { next("/"); } else { - this.$store.commit("application/searchQuery", ""); + store.commit("application/searchQuery", ""); store.commit("application/showContextBox", true); store.commit("application/contextBoxContent", "staging"); store.commit("application/showSearchbar", true); @@ -222,7 +222,7 @@ if (!isSysadmin) { next("/"); } else { - this.$store.commit("application/searchQuery", ""); + store.commit("application/searchQuery", ""); store.commit("application/showContextBox", true); store.commit("application/contextBoxContent", "stretches"); store.commit("application/showSearchbar", true);