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

Commit d3158be

Browse files
fix/MT5 account creation issue (#7090)
* fix: fixed the issue of if all synthetic servers ared used the other market types are disabled * fix: unable to create demo synthetic account Co-authored-by: Matin shafiei <matin@binary.com>
1 parent 48d9fe8 commit d3158be

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -969,11 +969,9 @@ const MetaTraderUI = (() => {
969969

970970
// disable next button and Synthetic option if all servers are used or unavailable
971971
const num_servers = populateTradingServers('real_gaming_financial');
972-
if (/(real|demo)/.test(selected_acc_type) && num_servers.supported === num_servers.used + num_servers.disabled) {
972+
if (/(real)/.test(selected_acc_type) && num_servers.supported === num_servers.used + num_servers.disabled) {
973973
disableButtonLink('.btn-next');
974974
$form.find('.step-2 #rbtn_gaming_financial').addClass('existed');
975-
$form.find('.step-2 #rbtn_financial_financial').addClass('existed');
976-
$form.find('.step-2 #rbtn_financial_financial_stp').addClass('existed');
977975
}
978976
};
979977

0 commit comments

Comments
 (0)