summaryrefslogtreecommitdiffstats
path: root/apps/settings
diff options
context:
space:
mode:
authorSimon L <szaimen@e.mail.de>2022-04-26 09:44:04 +0200
committerGitHub <noreply@github.com>2022-04-26 09:44:04 +0200
commitec5d8c72e14726273d467803ab6b60ad9109b512 (patch)
treef901c49b8afaf4e9f8c40b49bd31272a9af783b4 /apps/settings
parent8e29e814d291832d6f1adb3604787b6b531e98e7 (diff)
parent34004a3339732c0f35eba8f5e7670342d662b053 (diff)
downloadnextcloud-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.vue6
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