[fix] Backup create

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

View file

@ -155,7 +155,7 @@ export default {
}, },
createBackup () { createBackup () {
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]