forked from M-Labs/web2019
Slightly promote new functionality and consider mono_eem modes on sampler/urukul for suservo
Signed-off-by: Egor Savkin <es@m-labs.hk>
This commit is contained in:
parent
acdaeda699
commit
bd15b8d19d
|
@ -712,7 +712,6 @@ class ProductCartItem extends React.PureComponent {
|
||||||
construct: ((outvar, value) => {
|
construct: ((outvar, value) => {
|
||||||
// console.log("construct", outvar, value, options_data);
|
// console.log("construct", outvar, value, options_data);
|
||||||
options_data[outvar] = value;
|
options_data[outvar] = value;
|
||||||
onCardUpdate();
|
|
||||||
}),
|
}),
|
||||||
update: ((outvar, value) => {
|
update: ((outvar, value) => {
|
||||||
// console.log("update", outvar, value, options_data);
|
// console.log("update", outvar, value, options_data);
|
||||||
|
@ -2433,7 +2432,7 @@ class Shop extends React.PureComponent {
|
||||||
isMobile={isMobile}
|
isMobile={isMobile}
|
||||||
title="Order hardware"
|
title="Order hardware"
|
||||||
description="
|
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={
|
crateMode={
|
||||||
<CrateMode
|
<CrateMode
|
||||||
items={crateModeItems}
|
items={crateModeItems}
|
||||||
|
|
|
@ -444,8 +444,8 @@ export function OptionsSummaryPopup({id, options, data}) {
|
||||||
export function FillExtData(data, index) {
|
export function FillExtData(data, index) {
|
||||||
return {
|
return {
|
||||||
has_other_dio: data.filter((value, item_index) => index !== item_index && value.name.endsWith("-TTL")).length > 0,
|
has_other_dio: data.filter((value, item_index) => index !== item_index && value.name.endsWith("-TTL")).length > 0,
|
||||||
has_dds: data.filter(((value, _) => value.name === "DDS")).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")).length > 0
|
has_sampler: data.filter(((value, _) => value.name === "Sampler" && (!value.options_data || !value.options_data.mono_eem))).length > 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue