Browse Source

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>
tags/v25.0.0beta1
szaimen 2 years ago
parent
commit
34004a3339

+ 3
- 3
apps/settings/src/components/AppList.vue View File

@@ -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

+ 2
- 2
dist/settings-apps-view-418.js
File diff suppressed because it is too large
View File


+ 1
- 1
dist/settings-apps-view-418.js.map
File diff suppressed because it is too large
View File


+ 2
- 2
dist/settings-vue-settings-apps-users-management.js
File diff suppressed because it is too large
View File


+ 1
- 1
dist/settings-vue-settings-apps-users-management.js.map
File diff suppressed because it is too large
View File


Loading…
Cancel
Save