diff options
author | szaimen <szaimen@e.mail.de> | 2022-04-25 12:07:09 +0200 |
---|---|---|
committer | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2022-04-25 12:30:39 +0000 |
commit | 34004a3339732c0f35eba8f5e7670342d662b053 (patch) | |
tree | 2d6128f4b169790794537662a2cd8167bef3547a /apps/settings | |
parent | ff385dc679b7c0819e9903c5488e9a154ef7dec4 (diff) | |
download | nextcloud-server-34004a3339732c0f35eba8f5e7670342d662b053.tar.gz nextcloud-server-34004a3339732c0f35eba8f5e7670342d662b053.zip |
fix showing of all apps are up-to-date in apps management
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
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 |