From aabc61842a419bb49d99c2f506d3e090c8a694e2 Mon Sep 17 00:00:00 2001 From: vchikalkin Date: Wed, 12 Apr 2023 01:16:59 +0300 Subject: [PATCH] process/price: disable tbxFirstPaymentRub reaction on LoadKP --- apps/web/process/price/reactions/common.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/web/process/price/reactions/common.ts b/apps/web/process/price/reactions/common.ts index 3f687dd..748f3e6 100644 --- a/apps/web/process/price/reactions/common.ts +++ b/apps/web/process/price/reactions/common.ts @@ -101,7 +101,8 @@ export default function reactions({ store, apolloClient }: ProcessContext) { } ); - reaction( + disposableReaction( + () => $process.has('LoadKP'), () => $calculation.$values.getValues([ 'firstPaymentPerc',