Skip to content

Commit

Permalink
fix: default to correct trade type when allow equals is enabled (#17482)
Browse files Browse the repository at this point in the history
  • Loading branch information
akmal-deriv authored Nov 13, 2024
1 parent 7dfa0a9 commit b63ed84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/trader/src/Stores/Modules/Trading/trade-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit b63ed84

Please sign in to comment.