Skip to content

Commit 5d5818f

Browse files
committed
fix showing of all apps are up-to-date in apps management
Signed-off-by: szaimen <szaimen@e.mail.de>
1 parent ff385dc commit 5d5818f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/settings/src/components/AppList.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@ export default {
125125
return this.$store.getters.loading('list')
126126
},
127127
hasPendingUpdate() {
128-
return this.apps.filter(app => app.update).length > 1
128+
return this.apps.filter(app => app.update).length > 0
129129
},
130130
showUpdateAll() {
131-
return this.hasPendingUpdate && ['installed', 'updates'].includes(this.category)
131+
return this.hasPendingUpdate && ['installed', 'updates', 'enabled'].includes(this.category)
132132
},
133133
apps() {
134134
const apps = this.$store.getters.getAllApps

0 commit comments

Comments
 (0)