mirror of
https://github.com/nextcloud/server.git
synced 2026-06-14 19:20:35 -04:00
Merge pull request #32153 from nextcloud/backport/32114/stable24
[stable24] fix showing of all apps are up-to-date in apps management
This commit is contained in:
commit
15bd748709
5 changed files with 9 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
4
dist/settings-apps-view-7418.js
vendored
4
dist/settings-apps-view-7418.js
vendored
File diff suppressed because one or more lines are too long
2
dist/settings-apps-view-7418.js.map
vendored
2
dist/settings-apps-view-7418.js.map
vendored
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
Loading…
Reference in a new issue