fix tool / id in op register

This commit is contained in:
Stewart Allen 2021-01-13 18:07:28 -05:00
commit 4c2752ef54
2 changed files with 3 additions and 3 deletions

View file

@ -942,7 +942,7 @@
for (let [key, val] of Object.entries(op.inputs)) {
let type = val.type;
let from = map[key];
if (!rec[key] && type && from) {
if (rec[key] === undefined && type && from) {
let newval = current.process[from];
rec[key] = current.process[from];
}