diff options
author | Simon L <szaimen@e.mail.de> | 2022-05-04 11:31:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-04 11:31:59 +0300 |
commit | 15bd748709d04cb38da10776bcb63510318bd938 (patch) | |
tree | c032b9e2e437c903fb46dd001fd9b6b42f7daff5 /apps/settings | |
parent | 602f44954fc53324808067a68085b4e7c90ce313 (diff) | |
parent | 2c938d9de815af4489b055eca77ca133ace41945 (diff) |
Merge pull request #32153 from nextcloud/backport/32114/stable24
[stable24] fix showing of all apps are up-to-date in apps management
Diffstat (limited to 'apps/settings')
-rw-r--r-- | apps/settings/src/components/AppList.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/settings/src/components/AppList.vue b/apps/settings/src/components/AppList.vue index d32f3b08102..3a0c1fe51d0 100644 --- a/apps/settings/src/components/AppList.vue +++ b/apps/settings/src/components/AppList.vue @@ -30,7 +30,7 @@ id="app-list-update-all" type="primary" @click="updateAll"> - {{ t('settings', 'Update all') }} + {{ n('settings', 'Update', 'Update all', counter) }} </Button> </div> @@ -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 && this.useListView }, apps() { const apps = this.$store.getters.getAllApps |