summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-05-29 17:17:30 +0200
committerJulius Härtl <jus@bitgrid.net>2018-06-06 11:40:09 +0200
commit3672c6fc8853de49685b5caf440cbbddd51f4679 (patch)
treeb97cb98b37116465ddddaed6c8895a1a34c1bfc0 /settings
parent1ad8ea75b588dfe227c69738b0b715b4d3e688bc (diff)
downloadnextcloud-server-3672c6fc8853de49685b5caf440cbbddd51f4679.tar.gz
nextcloud-server-3672c6fc8853de49685b5caf440cbbddd51f4679.zip
Make search empty by default
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'settings')
-rw-r--r--settings/src/components/appList.vue3
1 files changed, 3 insertions, 0 deletions
diff --git a/settings/src/components/appList.vue b/settings/src/components/appList.vue
index a1eb71f46d9..2bec287a28e 100644
--- a/settings/src/components/appList.vue
+++ b/settings/src/components/appList.vue
@@ -83,6 +83,9 @@ export default {
.filter(app => app.name.toLowerCase().search(this.search.toLowerCase()) !== -1)
},
searchApps() {
+ if (this.search === '') {
+ return [];
+ }
return this.$store.getters.getAllApps
.filter(app => {
if (app.name.toLowerCase().search(this.search.toLowerCase()) !== -1) {