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

Commit 8a021ca

Browse files
Fixed trading server list appearance bug (#6947)
1 parent 115de22 commit 8a021ca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,8 @@ const MetaTraderUI = (() => {
721721
getAccountsInfo(account).info.sub_account_type,
722722
trading_server.supported_accounts
723723
) &&
724-
trading_server.id === getAccountsInfo(account).info.server
724+
trading_server.id === getAccountsInfo(account).info.server &&
725+
trading_server.account_type === getAccountsInfo(account).info.account_type
725726
);
726727

727728
const shouldSetTradingPassword = () => {

0 commit comments

Comments
 (0)