[fix] Backup create again

This commit is contained in:
ljf (zamentur) 2021-06-02 20:49:02 +02:00 committed by GitHub
parent 49a8e056f6
commit f0681039d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -158,9 +158,9 @@ export default {
const data = { 'apps[]': [], 'system[]': [] }
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)
}
}