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

Commit f8f4534

Browse files
authored
Merge pull request #1572 from hirad-rewok/error_message_iom_uk_options_trading
hirad/fix--changed IOM and UK options trading error message
2 parents f7008d4 + 9ea5b08 commit f8f4534

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/navigation/menu.es6

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const menu_config = {
1515
};
1616

1717
const trade_messages = {
18-
no_symbol : () => "Binary options trading is not available.".i18n(),
18+
no_symbol : () => "Trading options isn’t possible in your country.".i18n(),
1919
};
2020

2121
export const extractFilteredMarkets = (trading_times_data, options) => {
@@ -68,6 +68,8 @@ export const refreshMenu = (root, markets, callback) => {
6868
if(markets.length == 0){
6969
Object.values(menu_config).map( menu => $(menu).addClass('disabled'));
7070
$.growl.error({message: trade_messages.no_symbol()});
71+
} else if(markets.length == 3) {
72+
$.growl.error({message: trade_messages.no_symbol()});
7173
} else {
7274
Object.values(menu_config).map( menu => $(menu).removeClass('disabled'));
7375
}

0 commit comments

Comments
 (0)