From b63ed845dbf5e719e4cdae6187f6031b2c09180b Mon Sep 17 00:00:00 2001 From: Akmal Djumakhodjaev Date: Wed, 13 Nov 2024 18:59:14 +0800 Subject: [PATCH] fix: default to correct trade type when allow equals is enabled (#17482) --- packages/trader/src/Stores/Modules/Trading/trade-store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/trader/src/Stores/Modules/Trading/trade-store.ts b/packages/trader/src/Stores/Modules/Trading/trade-store.ts index 53fad1e5028f..3bc5bb12c17a 100644 --- a/packages/trader/src/Stores/Modules/Trading/trade-store.ts +++ b/packages/trader/src/Stores/Modules/Trading/trade-store.ts @@ -622,7 +622,7 @@ export default class TradeStore extends BaseStore { reaction( () => this.is_equal, () => { - this.onAllowEqualsChange(); + this.contract_type?.includes(TRADE_TYPES.RISE_FALL) && this.onAllowEqualsChange(); } ); reaction(