diff --git a/src/client/stores/CalculationStore/Effects/reactions/loadKpReaction/index.ts b/src/client/stores/CalculationStore/Effects/reactions/loadKpReaction/index.ts index d9f54b5..de83eb7 100644 --- a/src/client/stores/CalculationStore/Effects/reactions/loadKpReaction/index.ts +++ b/src/client/stores/CalculationStore/Effects/reactions/loadKpReaction/index.ts @@ -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);