fix(app-store): add missing exApps list items to search filter

Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
This commit is contained in:
Andrey Borysenko 2024-12-16 18:14:48 +02:00
parent d4ce30764a
commit ac0cd2f45a
No known key found for this signature in database
GPG key ID: 934CB29F9F59B0D1

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