Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorszaimen <szaimen@e.mail.de>2022-04-25 13:07:09 +0300
committernextcloud-command <nextcloud-command@users.noreply.github.com>2022-04-25 15:30:39 +0300
commit34004a3339732c0f35eba8f5e7670342d662b053 (patch)
tree2d6128f4b169790794537662a2cd8167bef3547a /apps/settings
parentff385dc679b7c0819e9903c5488e9a154ef7dec4 (diff)
fix showing of all apps are up-to-date in apps managementfix/31915/up-to-date-fix
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.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