Merge pull request #49885 from nextcloud/fix/settings/ex-apps-search

fix(app-store): add missing exApps list items to search filter
This commit is contained in:
Joas Schilling 2025-01-03 12:15:36 +01:00 committed by GitHub
commit b16f5a0043
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 8 additions and 7 deletions

View file

@ -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))

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long