From 1090fcf2a18dcbe34595f9dd90d7564106f6720d Mon Sep 17 00:00:00 2001 From: Chika Date: Tue, 25 Jan 2022 16:17:15 +0300 Subject: [PATCH] createKP: reset recalc after kp is created --- src/client/stores/CalculationStore/Effects/actions/createKP.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/client/stores/CalculationStore/Effects/actions/createKP.ts b/src/client/stores/CalculationStore/Effects/actions/createKP.ts index 79b6dd4..8177bc3 100644 --- a/src/client/stores/CalculationStore/Effects/actions/createKP.ts +++ b/src/client/stores/CalculationStore/Effects/actions/createKP.ts @@ -67,6 +67,8 @@ export default async function (this: ICalculationStore) { url: String.prototype.concat(CRM_PROXY_URL, newKP?.offerprintformapi), }); + this.setValue('recalcWithRevision', false); + const leadid = this.getValue('lead'); CrmService.getCRMOptions<'quotes', IQuote>({ query: getQuotesByLeadQuery,