Skip to content

Commit 69518a1

Browse files
committed
fix: backward compatibility logic for eu standard
1 parent 5971f3d commit 69518a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/Stores/traders-hub-store.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -861,8 +861,8 @@ export default class TradersHubStore extends BaseStore {
861861
{
862862
// This is for backward compatibility
863863
// before BE change, EU market_type is financial. With BE change, EU market_type becomes synthetic
864-
icon: this.is_eu_user && account.market_type === 'synthetic' ? 'Standard' : account.icon,
865-
name: this.is_eu_user && account.market_type === 'synthetic' ? 'Standard' : account.name,
864+
icon: this.is_eu_user && account.market_type !== 'financial' ? 'Standard' : account.icon,
865+
name: this.is_eu_user && account.market_type !== 'financial' ? 'Standard' : account.name,
866866
platform: account.platform,
867867
description: account.description,
868868
key: `trading_app_card_${account.name}`,

0 commit comments

Comments
 (0)