diff --git a/src/client/stores/CalculationStore/Effects/reactions/otherReactions.ts b/src/client/stores/CalculationStore/Effects/reactions/otherReactions.ts index 2d4d175..fbeab29 100644 --- a/src/client/stores/CalculationStore/Effects/reactions/otherReactions.ts +++ b/src/client/stores/CalculationStore/Effects/reactions/otherReactions.ts @@ -1,5 +1,6 @@ import { openNotification } from 'client/Elements/Notification'; import { IReactionEffect } from 'core/types/Calculation/Store/effect'; +import { Process } from 'core/types/Calculation/Store/process'; import { ElementStatus } from 'core/types/statuses'; import { calcPrice, calculatePerc, calculateRub } from '../lib/tools'; @@ -1706,12 +1707,16 @@ const reactionEffects: IReactionEffect[] = [ }, }), - calculationStore => ({ + (calculationStore, calculationProcess) => ({ expression: () => { const { tarif } = calculationStore.values; return tarif; }, effect: tarif_evo_id => { + if (calculationProcess.process === Process.LoadKp) { + return; + } + const tarif = calculationStore.options.selectTarif?.find( x => x.evo_tarifid === tarif_evo_id, );