summaryrefslogtreecommitdiffstats
path: root/settings/src/views/Apps.vue
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-06-02 09:51:14 +0200
committerJulius Härtl <jus@bitgrid.net>2018-06-06 11:40:09 +0200
commita5509aa2539e37deb067b2d870666f5869a53bab (patch)
tree40ba22a90ed88117043c374b82a019fa89c32495 /settings/src/views/Apps.vue
parent64c2e946f4d17e877105116ddc6e02f9c2aa042b (diff)
downloadnextcloud-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.vue6
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;