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>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
  • Loading branch information
szaimen authored and nextcloud-command committed Apr 25, 2022
1 parent ff385dc commit b897db3
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 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
4 changes: 2 additions & 2 deletions dist/settings-apps-view-418.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/settings-apps-view-418.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit b897db3

Please sign in to comment.