Reset search when switching categories
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
5326ba0064
commit
5128f7ea30
|
@ -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 });
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue