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

Commit c9b8a50

Browse files
Update src/javascript/app/pages/user/metatrader/metatrader.js
Code clarity Co-Authored-By: oskar-binary <53067656+oskar-binary@users.noreply.github.com>
1 parent 2cb4335 commit c9b8a50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/javascript/app/pages/user/metatrader/metatrader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const MetaTrader = (() => {
4444
const mt_gaming_company = has_iom_gaming_company ? State.getResponse('landing_company.mt_gaming_company') : {};
4545

4646
// Check if mt_gaming_company is offered, if not found, switch to mt_financial_company
47-
const mt_landing_company = !isEmptyObject(mt_gaming_company) ? mt_gaming_company : mt_financial_company;
47+
const mt_landing_company = isEmptyObject(mt_gaming_company) ? mt_financial_company : mt_gaming_company;
4848

4949
// Check if any of the account type shortcodes from mt_landing_company account is maltainvest
5050
const is_financial = mt_landing_company ? Object.keys(mt_landing_company)

0 commit comments

Comments
 (0)