Skip to content

Commit

Permalink
Reset search when switching categories
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <jus@bitgrid.net>
  • Loading branch information
juliusknorr committed May 30, 2018
1 parent d2ed50b commit 7704564
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions settings/src/views/Apps.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
}
},
Expand Down

0 comments on commit 7704564

Please sign in to comment.