mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[fix] Backup restore
This commit is contained in:
parent
efe974b8e9
commit
49a8e056f6
1 changed files with 3 additions and 3 deletions
|
@ -201,12 +201,12 @@ export default {
|
|||
)
|
||||
if (!confirmed) return
|
||||
|
||||
const data = { apps: [], system: [], force: '' }
|
||||
const data = { 'apps[]': [], 'system[]': [], force: '' }
|
||||
for (const item of this.selected) {
|
||||
if (item in this.system) {
|
||||
data.system = [...data.system, ...this.system[item].value]
|
||||
data['system[]'] = [...data['system[]'], ...this.system[item].value]
|
||||
} else {
|
||||
data.apps.push(item)
|
||||
data['apps[]'].push(item)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue