diff options
Diffstat (limited to 'settings/src/components/appList.vue')
-rw-r--r-- | settings/src/components/appList.vue | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/settings/src/components/appList.vue b/settings/src/components/appList.vue index 760bc8a66a1..56e169c7dde 100644 --- a/settings/src/components/appList.vue +++ b/settings/src/components/appList.vue @@ -45,7 +45,7 @@ </div> <div id="apps-list" class="installed" v-if="search !== ''"> - <div> + <div class="section"> <div></div> <h2>{{ t('settings', 'Results from other categories') }}</h2> </div> @@ -95,10 +95,15 @@ export default { }, searchApps() { return this.$store.getters.getAllApps - .filter(app => app.name.toLowerCase().search(this.search.toLowerCase()) !== -1) + .filter(app => { + if (app.name.toLowerCase().search(this.search.toLowerCase()) !== -1) { + return (!this.apps.find(_app => _app.id === app.id)); + } + return false; + + }); }, groups() { - console.log(this.$store.getters.getGroups); return this.$store.getters.getGroups .filter(group => group.id !== 'disabled') .sort((a, b) => a.name.localeCompare(b.name)); |