diff options
author | szaimen <szaimen@e.mail.de> | 2022-04-26 10:27:06 +0200 |
---|---|---|
committer | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2022-04-26 08:36:06 +0000 |
commit | 2c938d9de815af4489b055eca77ca133ace41945 (patch) | |
tree | 31ea69eaa529b4f6090b509edad421973e1351e2 /apps/settings/src | |
parent | ff64a731b07993e58d42d27d223fce8d74919edd (diff) | |
download | nextcloud-server-2c938d9de815af4489b055eca77ca133ace41945.tar.gz nextcloud-server-2c938d9de815af4489b055eca77ca133ace41945.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/src')
-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 |