Skip to content

Commit 15bd748

Browse files
authored
Merge pull request #32153 from nextcloud/backport/32114/stable24
[stable24] fix showing of all apps are up-to-date in apps management
2 parents 602f449 + 2c938d9 commit 15bd748

5 files changed

+9
-9
lines changed

apps/settings/src/components/AppList.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
id="app-list-update-all"
3131
type="primary"
3232
@click="updateAll">
33-
{{ t('settings', 'Update all') }}
33+
{{ n('settings', 'Update', 'Update all', counter) }}
3434
</Button>
3535
</div>
3636

@@ -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 && this.useListView
132132
},
133133
apps() {
134134
const apps = this.$store.getters.getAllApps

dist/settings-apps-view-7418.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/settings-apps-view-7418.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)