fix(fulfillment) Variants changed from managed inventory to unmanaged are now fulfillable (#14056)
* (fix) Variants changed from managed inventory to unmanaged are now fulfillable * Changeset * Update dull-donkeys-ring.md
This commit is contained in:
@@ -168,8 +168,8 @@ function prepareRegisterDeliveryData({
|
||||
const iitem = iitems.find(
|
||||
(i) => i.inventory.id === fitem.inventory_item_id
|
||||
)
|
||||
|
||||
quantity = MathBN.div(quantity, iitem!.required_quantity)
|
||||
if(iitem)
|
||||
quantity = MathBN.div(quantity, iitem.required_quantity)
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user