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

Commit f772fd9

Browse files
committed
fix: tradedialog
1 parent a3a2912 commit f772fd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/trade/tradeDialog.es6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ function init_state(available,root, dialog, symbol, contracts_for_spot) {
841841
const request = {
842842
proposal: 1,
843843
subscribe: 1,
844-
contract_type: row.contract_type,
844+
contract_type: row ? row.contract_type : '',
845845
currency: state.currency.value, /* This can only be the account-holder's currency */
846846
symbol: state.proposal.symbol, /* Symbol code */
847847
};

0 commit comments

Comments
 (0)