disable reset values on select null quote
This commit is contained in:
parent
648d7081ab
commit
b1c3b7d268
@ -47,16 +47,6 @@ const loadKpReaction: IReactionEffect = calculationStore => ({
|
||||
effect: quoteId => {
|
||||
const { lead, quote, opportunity } = calculationStore.values;
|
||||
|
||||
if (!quoteId) {
|
||||
calculationStore.setValues({
|
||||
...initialValues,
|
||||
lead,
|
||||
opportunity,
|
||||
quote,
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
calculationStore.setStatus('selectQuote', ElementStatus.Disabled);
|
||||
calculationStore.setStatus('btnCalculate', ElementStatus.Disabled);
|
||||
calculationStore.setStatus('btnCreateKP', ElementStatus.Disabled);
|
||||
|
||||
Reference in New Issue
Block a user