changeset 2750:6446bf6d2a89

search: use global search only in global context
author Thomas Junk <thomas.junk@intevation.de>
date Thu, 21 Mar 2019 12:23:52 +0100
parents cd789302b3e2
children 5da81634bdc4
files client/src/components/Search.vue
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/Search.vue	Thu Mar 21 11:54:17 2019 +0100
+++ b/client/src/components/Search.vue	Thu Mar 21 12:23:52 2019 +0100
@@ -226,7 +226,7 @@
   watch: {
     searchQuery: function() {
       this.searchQueryIsDirty = true;
-      this.triggerSearch();
+      if (!this.showContextBox) this.triggerSearch();
     }
   },
   methods: {