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

Commit dd845c7

Browse files
mamali-fsMohammadreza Ghorbani
andauthored
fix IM Footer (#6974)
Co-authored-by: Mohammadreza Ghorbani <reza@firstsource.email>
1 parent e8499e9 commit dd845c7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/javascript/app/common/country_base.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
const Client = require('../base/client');
2-
const State = require('../../_common/storage').State;
1+
const Client = require('../base/client');
2+
const State = require('../../_common/storage').State;
3+
const isEuCountrySelected = require('../../_common/utility').isEuCountrySelected;
34

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

0 commit comments

Comments
 (0)