From 02212722d343ea438bfd8f4eb87b2362316ac823 Mon Sep 17 00:00:00 2001 From: vchikalkin Date: Mon, 13 Dec 2021 11:03:44 +0300 Subject: [PATCH] sync with core updates add for e6b77ea --- src/client/Containers/Calculation/lib/elements/elementsProps.ts | 2 +- .../stores/CalculationStore/Effects/reactions/otherReactions.ts | 2 +- src/client/stores/CalculationStore/config/initialOptions.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client/Containers/Calculation/lib/elements/elementsProps.ts b/src/client/Containers/Calculation/lib/elements/elementsProps.ts index ec4fdf9..8a5a28b 100644 --- a/src/client/Containers/Calculation/lib/elements/elementsProps.ts +++ b/src/client/Containers/Calculation/lib/elements/elementsProps.ts @@ -110,7 +110,7 @@ const elementsProps: TElements = { tbxFirstPaymentPerc: { min: '0', max: '50', - precision: 2, + precision: 4, formatter: formatNumber, }, tbxFirstPaymentRub: { diff --git a/src/client/stores/CalculationStore/Effects/reactions/otherReactions.ts b/src/client/stores/CalculationStore/Effects/reactions/otherReactions.ts index 48e06f0..c011395 100644 --- a/src/client/stores/CalculationStore/Effects/reactions/otherReactions.ts +++ b/src/client/stores/CalculationStore/Effects/reactions/otherReactions.ts @@ -1699,7 +1699,7 @@ const reactionEffects: IReactionEffect[] = [ ); break; } - case 100000002: { + case 100000001: { calculationStore.setStatus('tbxIRR_Perc', ElementStatus.Disabled); calculationStore.setStatus('tbxTotalPayments', ElementStatus.Default); break; diff --git a/src/client/stores/CalculationStore/config/initialOptions.ts b/src/client/stores/CalculationStore/config/initialOptions.ts index 8949ebd..b4326f9 100644 --- a/src/client/stores/CalculationStore/config/initialOptions.ts +++ b/src/client/stores/CalculationStore/config/initialOptions.ts @@ -376,7 +376,7 @@ const initialOptions: TElements = { }, { name: 'Суммы', - value: 100000002, + value: 100000001, }, ], radioObjectRegistration: [