diff --git a/frontend/src/rete/nodes/action.ts b/frontend/src/rete/nodes/action.ts index 848d47ab..d9353456 100644 --- a/frontend/src/rete/nodes/action.ts +++ b/frontend/src/rete/nodes/action.ts @@ -68,7 +68,7 @@ export class ActionNode ) this.addControl( "quantity", - new Classic.InputControl("number", { initial: initialQuantity, change: changeQuantity }) + new Classic.InputControl("number", { initial: initialQuantity || 1, change: changeQuantity }) ) }