mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
SystemUpdate: check if notif
This commit is contained in:
parent
81cdebde45
commit
ea07e19e63
1 changed files with 3 additions and 1 deletions
|
@ -165,7 +165,9 @@ export default {
|
|||
const apps = appList.map((app) => ({
|
||||
id: app.id,
|
||||
name: app.name,
|
||||
notif: this.formatAppNotifs(app.notifications.pre_upgrade)
|
||||
notif: app.notifications.pre_upgrade
|
||||
? this.formatAppNotifs(app.notifications.pre_upgrade)
|
||||
: ''
|
||||
}))
|
||||
this.preUpgrade = { apps, hasNotifs: apps.some((app) => app.notif) }
|
||||
this.$bvModal.show('apps-pre-upgrade')
|
||||
|
|
Loading…
Reference in a new issue