Skip to content

Commit

Permalink
fix showing of all apps are up-to-date in apps management
Browse files Browse the repository at this point in the history
Signed-off-by: szaimen <szaimen@e.mail.de>
  • Loading branch information
szaimen committed Apr 25, 2022
1 parent ff385dc commit 5d5818f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/settings/src/components/AppList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,10 @@ export default {
return this.$store.getters.loading('list')
},
hasPendingUpdate() {
return this.apps.filter(app => app.update).length > 1
return this.apps.filter(app => app.update).length > 0
},
showUpdateAll() {
return this.hasPendingUpdate && ['installed', 'updates'].includes(this.category)
return this.hasPendingUpdate && ['installed', 'updates', 'enabled'].includes(this.category)
},
apps() {
const apps = this.$store.getters.getAllApps
Expand Down

0 comments on commit 5d5818f

Please sign in to comment.