From 77045647c9202be3ba2a62a67134498732ced223 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 30 May 2018 11:56:47 +0200 Subject: [PATCH] Reset search when switching categories MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- settings/src/views/Apps.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/settings/src/views/Apps.vue b/settings/src/views/Apps.vue index 709acd0f63877..f894ebd8e50e1 100644 --- a/settings/src/views/Apps.vue +++ b/settings/src/views/Apps.vue @@ -90,6 +90,7 @@ export default { // watch url change and group select category: function (val, old) { this.$store.commit('resetApps'); + this.setSearch(''); this.$store.dispatch('getApps', { category: this.category }); } },