diff options
author | Simon L <szaimen@e.mail.de> | 2022-04-26 09:44:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-26 09:44:04 +0200 |
commit | ec5d8c72e14726273d467803ab6b60ad9109b512 (patch) | |
tree | f901c49b8afaf4e9f8c40b49bd31272a9af783b4 /apps/settings | |
parent | 8e29e814d291832d6f1adb3604787b6b531e98e7 (diff) | |
parent | 34004a3339732c0f35eba8f5e7670342d662b053 (diff) | |
download | nextcloud-server-ec5d8c72e14726273d467803ab6b60ad9109b512.tar.gz nextcloud-server-ec5d8c72e14726273d467803ab6b60ad9109b512.zip |
Merge pull request #32114 from nextcloud/fix/31915/up-to-date-fix
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 |