diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-06-02 09:51:14 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-06-06 11:40:09 +0200 |
commit | a5509aa2539e37deb067b2d870666f5869a53bab (patch) | |
tree | 40ba22a90ed88117043c374b82a019fa89c32495 /settings/src/views/Apps.vue | |
parent | 64c2e946f4d17e877105116ddc6e02f9c2aa042b (diff) | |
download | nextcloud-server-a5509aa2539e37deb067b2d870666f5869a53bab.tar.gz nextcloud-server-a5509aa2539e37deb067b2d870666f5869a53bab.zip |
Move filtering to javascript
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'settings/src/views/Apps.vue')
-rw-r--r-- | settings/src/views/Apps.vue | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/settings/src/views/Apps.vue b/settings/src/views/Apps.vue index 994677700e1..1bd76b8718e 100644 --- a/settings/src/views/Apps.vue +++ b/settings/src/views/Apps.vue @@ -69,7 +69,6 @@ export default { }, beforeMount() { this.$store.dispatch('getCategories'); - this.$store.dispatch('getApps', {category: this.category}); this.$store.dispatch('getAllApps'); this.$store.dispatch('getGroups'); this.$store.commit('setUpdateCount', this.$store.getters.getServerData.updateCount) @@ -89,11 +88,8 @@ export default { } }, watch: { - // watch url change and group select category: function (val, old) { - this.$store.commit('resetApps'); this.setSearch(''); - this.$store.dispatch('getApps', { category: this.category }); } }, computed: { @@ -110,7 +106,7 @@ export default { return this.$store.getters.getCategories; }, apps() { - return this.$store.getters.getApps; + return this.$store.getters.getAllApps; }, updateCount() { return this.$store.getters.getUpdateCount; |