mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Merge pull request #32115 from nextcloud/backport/32114/stable23
[stable23] fix showing of all apps are up-to-date in apps management
This commit is contained in:
commit
ae231b8d5c
5 changed files with 9 additions and 9 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -30,7 +30,7 @@
|
|||
id="app-list-update-all"
|
||||
class="primary"
|
||||
@click="updateAll">
|
||||
{{ t('settings', 'Update all') }}
|
||||
{{ n('settings', 'Update', 'Update all', counter) }}
|
||||
</button>
|
||||
</div>
|
||||
<div v-if="!showUpdateAll" class="counter">
|
||||
|
|
@ -120,10 +120,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
|
||||
|
|
|
|||
Loading…
Reference in a new issue