Fix add_object preset ignoring non-key params
This commit is contained in:
1 parent
ae4526defe
commit
8743cebb01
1 file changed
+1
-1
+1
-1
@@ -176,7 +176,7 @@ function refresh(callback) {
|
||||
_provisions.push(["instances", p, 1]);
|
||||
|
||||
for (let k in obj)
|
||||
if (k[0] !== "_" && !(obj["_keys"]))
|
||||
if (!k.startsWith("_") && !(obj["_keys"].indexOf(k) !== -1))
|
||||
_provisions.push(["value", `${p}.${k}`, obj[k]]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user