diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-05-29 17:17:30 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-06-06 11:40:09 +0200 |
commit | 3672c6fc8853de49685b5caf440cbbddd51f4679 (patch) | |
tree | b97cb98b37116465ddddaed6c8895a1a34c1bfc0 /settings | |
parent | 1ad8ea75b588dfe227c69738b0b715b4d3e688bc (diff) | |
download | nextcloud-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.vue | 3 |
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) { |