mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
fix(app-store): add missing exApps list items to search filter
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
This commit is contained in:
parent
d4ce30764a
commit
ac0cd2f45a
1 changed files with 2 additions and 1 deletions
|
|
@ -250,7 +250,8 @@ export default {
|
|||
if (this.search === '') {
|
||||
return []
|
||||
}
|
||||
return this.$store.getters.getAllApps
|
||||
const exApps = this.$store.getters.isAppApiEnabled ? this.appApiStore.getAllApps : []
|
||||
return [...this.$store.getters.getAllApps, ...exApps]
|
||||
.filter(app => {
|
||||
if (app.name.toLowerCase().search(this.search.toLowerCase()) !== -1) {
|
||||
return (!this.apps.find(_app => _app.id === app.id))
|
||||
|
|
|
|||
Loading…
Reference in a new issue