diff --git a/js/models/order/Order.js b/js/models/order/Order.js index 264c6384c..feaaf2944 100644 --- a/js/models/order/Order.js +++ b/js/models/order/Order.js @@ -64,6 +64,10 @@ export default class extends BaseModel { const listing = response.contract .vendorListings[index]; + // standardize the quantity field + item.quantity = item.quantity === 0 ? + item.quantity64 : item.quantity; + if (listing.metadata.contractType === 'CRYPTOCURRENCY') { const coinDivisibility = listing.metadata .coinDivisibility;