Skip to content

Commit ae231b8

Browse files
authored
Merge pull request #32115 from nextcloud/backport/32114/stable23
[stable23] fix showing of all apps are up-to-date in apps management
2 parents 6544607 + 056e119 commit ae231b8

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

apps/settings/js/vue-settings-apps-users-management.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/settings/js/vue-settings-apps-users-management.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/settings/js/vue-settings-apps.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/settings/js/vue-settings-apps.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/settings/src/components/AppList.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
id="app-list-update-all"
3131
class="primary"
3232
@click="updateAll">
33-
{{ t('settings', 'Update all') }}
33+
{{ n('settings', 'Update', 'Update all', counter) }}
3434
</button>
3535
</div>
3636
<div v-if="!showUpdateAll" class="counter">
@@ -120,10 +120,10 @@ export default {
120120
return this.$store.getters.loading('list')
121121
},
122122
hasPendingUpdate() {
123-
return this.apps.filter(app => app.update).length > 1
123+
return this.apps.filter(app => app.update).length > 0
124124
},
125125
showUpdateAll() {
126-
return this.hasPendingUpdate && ['installed', 'updates'].includes(this.category)
126+
return this.hasPendingUpdate && this.useListView
127127
},
128128
apps() {
129129
const apps = this.$store.getters.getAllApps

0 commit comments

Comments
 (0)