Skip to content

Commit

Permalink
Hirad/ Finished MF urgent changes (#6159)
Browse files Browse the repository at this point in the history
* Finished MF urgent changes

* Changed the styling of the condition
  • Loading branch information
hirad-deriv committed Aug 15, 2022
1 parent 2487cca commit f540a95
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
9 changes: 3 additions & 6 deletions packages/cfd/src/Components/cfd-account-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -466,18 +466,15 @@ const CFDAccountCardComponent = ({
type.category === 'real' &&
existing_accounts_data?.map((acc, index) => (
<div className='cfd-account-card__item' key={index}>
{existing_data?.display_balance && is_logged_in && (
{existing_data?.display_balance && is_logged_in && !is_eu && (
<div className='cfd-account-card__item--banner'>
<Localize
i18n_default_text={
acc.landing_company_short &&
(is_eu
? 'MFSA'
: acc.landing_company_short !== 'svg' &&
acc.landing_company_short !== 'bvi'
!['svg', 'bvi'].includes(acc?.landing_company_short)
? acc.landing_company_short?.charAt(0).toUpperCase() +
acc.landing_company_short.slice(1)
: acc.landing_company_short?.toUpperCase())
: acc.landing_company_short?.toUpperCase()
}
/>
</div>
Expand Down
3 changes: 2 additions & 1 deletion packages/cfd/src/Containers/mt5-compare-table-content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const eucontent: TModalContentProps[] = [
id: 'jurisdiction',
attribute: localize('Jurisdiction'),
values: {
financial_maltainvest: { text: localize('Malta Financial Services Authority') },
financial_maltainvest: { text: localize('Malta') },
},
},
{
Expand Down Expand Up @@ -104,6 +104,7 @@ const eucontent: TModalContentProps[] = [
text: [
localize('Forex'),
localize('Stocks'),
localize('Commodities'),
localize('Stock indices'),
localize('Synthetic indices'),
localize('Cryptocurrencies'),
Expand Down

1 comment on commit f540a95

@vercel
Copy link

@vercel vercel bot commented on f540a95 Aug 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

deriv-app – ./

deriv-app.vercel.app
deriv-app.binary.sx
deriv-app-git-master.binary.sx
binary.sx

Please sign in to comment.