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

mamali / fix IM Footer #6974

Merged
merged 1 commit into from
Nov 23, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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