Skip to content

Commit 2a5e455

Browse files
committed
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>
1 parent ff385dc commit 2a5e455

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

apps/settings/src/components/AppList.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
id="app-list-update-all"
3131
type="primary"
3232
@click="updateAll">
33-
{{ t('settings', 'Update all') }}
33+
{{ n('settings', 'Update', 'Update all', counter) }}
3434
</Button>
3535
</div>
3636

@@ -125,10 +125,10 @@ export default {
125125
return this.$store.getters.loading('list')
126126
},
127127
hasPendingUpdate() {
128-
return this.apps.filter(app => app.update).length > 1
128+
return this.apps.filter(app => app.update).length > 0
129129
},
130130
showUpdateAll() {
131-
return this.hasPendingUpdate && ['installed', 'updates'].includes(this.category)
131+
return this.hasPendingUpdate && this.useListView
132132
},
133133
apps() {
134134
const apps = this.$store.getters.getAllApps

dist/settings-apps-view-418.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/settings-apps-view-418.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)