diff client/src/components/Contextbox.vue @ 2282:2e40909a975d

clean searchbar when context is changed
author Thomas Junk <thomas.junk@intevation.de>
date Fri, 15 Feb 2019 11:55:56 +0100
parents a08e0f532304
children 514193fd0120
line wrap: on
line diff
--- a/client/src/components/Contextbox.vue	Fri Feb 15 11:44:38 2019 +0100
+++ b/client/src/components/Contextbox.vue	Fri Feb 15 11:55:56 2019 +0100
@@ -52,6 +52,7 @@
   },
   methods: {
     close() {
+      this.$store.commit("application/searchQuery", "");
       this.$store.commit("application/showContextBox", false);
       this.$store.commit(
         "application/showSearchbar",