diff --git a/src/client/stores/CalculationStore/Effects/reactions/otherReactions.ts b/src/client/stores/CalculationStore/Effects/reactions/otherReactions.ts index a02ee51..6465aca 100644 --- a/src/client/stores/CalculationStore/Effects/reactions/otherReactions.ts +++ b/src/client/stores/CalculationStore/Effects/reactions/otherReactions.ts @@ -1795,22 +1795,29 @@ const reactionEffects: IReactionEffect[] = [ }, }), - calculationStore => ({ + (calculationStore, calculationProcess) => ({ expression: () => { const { leaseObjectType } = calculationStore.values; return { leaseObjectType }; }, effect: () => { + if (calculationProcess.process !== Process.Default) { + return; + } calculationStore.setValue('technicalCard', null); }, }), - calculationStore => ({ + (calculationStore, calculationProcess) => ({ expression: () => { const { leasingPeriod } = calculationStore.values; return leasingPeriod; }, effect: () => { + if (calculationProcess.process !== Process.Default) { + return; + } + const { technicalCard: technicalCardId } = calculationStore.values; const technicalCard = calculationStore.options.selectTechnicalCard?.find(