mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
SystemUpdate: display post_install notif returned by api
This commit is contained in:
parent
ea07e19e63
commit
34d7614195
1 changed files with 2 additions and 2 deletions
|
@ -178,10 +178,10 @@ export default {
|
|||
const lastAppId = apps[apps.length - 1].id
|
||||
|
||||
for (const app of apps) {
|
||||
const postMessage = this.formatAppNotifs(app.notifications.post_upgrade)
|
||||
const continue_ = await api.put(
|
||||
`apps/${app.id}/upgrade`, {}, { key: 'upgrade.app', app: app.name }
|
||||
).then(() => {
|
||||
).then((response) => {
|
||||
const postMessage = this.formatAppNotifs(response.notifications.post_upgrade)
|
||||
const isLast = app.id === lastAppId
|
||||
this.apps = this.apps.filter((a) => app.id !== a.id)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue