Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
fix IM Footer (#6974)
Browse files Browse the repository at this point in the history
Co-authored-by: Mohammadreza Ghorbani <[email protected]>
  • Loading branch information
mamali-fs and Mohammadreza Ghorbani authored Nov 23, 2021
1 parent e8499e9 commit dd845c7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/javascript/app/common/country_base.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const Client = require('../base/client');
const State = require('../../_common/storage').State;
const Client = require('../base/client');
const State = require('../../_common/storage').State;
const isEuCountrySelected = require('../../_common/utility').isEuCountrySelected;

// will return true for all clients with maltainvest/malta/iom financial/gaming landing company shortcode
// needs to wait for website_status, authorize, and landing_company before being called
Expand All @@ -14,7 +15,7 @@ const isEuCountry = () => {
return (
(financial_shortcode || gaming_shortcode) ?
(eu_shortcode_regex.test(financial_shortcode) || eu_shortcode_regex.test(gaming_shortcode)) :
eu_excluded_regex.test(clients_country)
eu_excluded_regex.test(clients_country) || isEuCountrySelected(clients_country)
);
};

Expand Down

1 comment on commit dd845c7

@vercel
Copy link

@vercel vercel bot commented on dd845c7 Nov 23, 2021

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:

Please sign in to comment.