diff --git a/static/js/shop.jsx b/static/js/shop.jsx index 27c3a08..188f50c 100644 --- a/static/js/shop.jsx +++ b/static/js/shop.jsx @@ -712,7 +712,6 @@ class ProductCartItem extends React.PureComponent { construct: ((outvar, value) => { // console.log("construct", outvar, value, options_data); options_data[outvar] = value; - onCardUpdate(); }), update: ((outvar, value) => { // console.log("update", outvar, value, options_data); @@ -2433,7 +2432,7 @@ class Shop extends React.PureComponent { isMobile={isMobile} title="Order hardware" description=" - Drag and drop the cards you want into the crate below to see how the combination would look like. If you have any issues with this ordering system, or if you need other configurations, email us directly anytime at sales@m-****.hk. The price is estimated and must be confirmed by a quote." + Drag and drop the cards you want into the crate below to see how the combination would look like. Setup card's configuration by tapping at the top of the card. If you have any issues with this ordering system, or if you need other configurations, email us directly anytime at sales@m-****.hk. The price is estimated and must be confirmed by a quote." crateMode={ index !== item_index && value.name.endsWith("-TTL")).length > 0, - has_dds: data.filter(((value, _) => value.name === "DDS")).length > 0, - has_sampler: data.filter(((value, _) => value.name === "Sampler")).length > 0 + has_dds: data.filter(((value, _) => value.name === "DDS" && (!value.options_data || !value.options_data.mono_eem))).length > 0, + has_sampler: data.filter(((value, _) => value.name === "Sampler" && (!value.options_data || !value.options_data.mono_eem))).length > 0 } }