From c15d454b3660dea94958566b808d2709f50982c0 Mon Sep 17 00:00:00 2001 From: Hamid Date: Fri, 7 Apr 2023 11:49:06 +0800 Subject: [PATCH] Revert "chore: change reaction and call validateAllProperties (#8165)" (#8182) This reverts commit 2f889dd5d95d0106c7a97cc088a8795793ae1729. --- packages/trader/src/Stores/Modules/Trading/trade-store.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/trader/src/Stores/Modules/Trading/trade-store.js b/packages/trader/src/Stores/Modules/Trading/trade-store.js index a1ab734b9543..14a1a1bd0490 100644 --- a/packages/trader/src/Stores/Modules/Trading/trade-store.js +++ b/packages/trader/src/Stores/Modules/Trading/trade-store.js @@ -393,11 +393,10 @@ export default class TradeStore extends BaseStore { } ); reaction( - () => this.root_store.common.current_language, + () => this.root_store.common.is_language_changing, () => { this.setValidationRules(getValidationRules()); this.changeDurationValidationRules(); - this.validateAllProperties(); } ); when(