Skip to content

Commit f7b4bda

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

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

packages/appstore/src/components/cfds-listing-logged-out/cfds-listing-logged-out.tsx

+11-3
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,17 @@ const CFDsListingLoggedOut = observer(() => {
3434
action_type={existing_account.action_type}
3535
availability={selected_region}
3636
clickable_icon
37-
icon={existing_account.icon}
38-
sub_title={existing_account?.sub_title}
39-
name={existing_account?.name ?? ''}
37+
icon={
38+
is_eu_user && existing_account.market_type !== 'financial'
39+
? 'Standard'
40+
: existing_account.icon
41+
}
42+
sub_title={existing_account?.sub_title} //
43+
name={
44+
is_eu_user && existing_account.market_type !== 'financial'
45+
? 'Standard'
46+
: existing_account.name
47+
}
4048
short_code_and_region={existing_account?.short_code_and_region}
4149
platform={existing_account.platform}
4250
description={existing_account.description}

0 commit comments

Comments
 (0)