From 652da5ef6d0f6988c4048f80359f225dcb3909aa Mon Sep 17 00:00:00 2001 From: Chika Date: Wed, 25 Nov 2020 14:37:47 +0300 Subject: [PATCH] fix kaskoPriceLeasePeriod calculation --- src/client/stores/CalculationStore/Effects/computed.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/client/stores/CalculationStore/Effects/computed.js b/src/client/stores/CalculationStore/Effects/computed.js index f241bc4..7b485f1 100644 --- a/src/client/stores/CalculationStore/Effects/computed.js +++ b/src/client/stores/CalculationStore/Effects/computed.js @@ -55,8 +55,9 @@ const computedEffects = { } } }, - insKaskoPriceLeasePeriod: () => - customValues.insKaskoPriceLeasePeriod.call(this).toFixed(2), + insKaskoPriceLeasePeriod() { + return customValues.insKaskoPriceLeasePeriod.call(this).toFixed(2); + }, }; export default computedEffects;