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