Commit ac82ac39 by Kristian Freeman

Fix bug with passing order

parent 1a41cf17
......@@ -46,7 +46,7 @@ export function checkOrderForPackaging() {
const { orders, widgets } = getState()
const order = orders[0]
if (order.widgets <= widgets.length) {
dispatch(packageOrder())
dispatch(packageOrder(order))
} else {
dispatch(presentError("Not enough widgets to fill order!"))
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment