From c3d36fbd5e4af9f7fb332f8ea3da4a94aa4a19bc Mon Sep 17 00:00:00 2001 From: Chika Date: Thu, 24 Jun 2021 14:46:26 +0300 Subject: [PATCH] filter townRegistration on objectRegistration --- .../CalculationStore/Effects/reactions/gibddReactions.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/client/stores/CalculationStore/Effects/reactions/gibddReactions.ts b/src/client/stores/CalculationStore/Effects/reactions/gibddReactions.ts index 6d245ae..e444a65 100644 --- a/src/client/stores/CalculationStore/Effects/reactions/gibddReactions.ts +++ b/src/client/stores/CalculationStore/Effects/reactions/gibddReactions.ts @@ -588,7 +588,10 @@ const gibddReactions: IReactionEffect[] = [ calculationStore => ({ expression: () => { - return calculationStore.getValue('regionRegistration'); + return calculationStore.getValues([ + 'regionRegistration', + 'objectRegistration', + ]); }, effect: () => { const objectRegistration = calculationStore.getValue(