Skip to content

Commit

Permalink
Merge pull request binary-com#2852 from binary-com/beta
Browse files Browse the repository at this point in the history
beta to master
  • Loading branch information
Aaron authored Jun 10, 2020
2 parents 06b1343 + c853d0d commit 8b578dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/botPage/view/Dialogs/Chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ class ChartContent extends PureComponent {
barrierType: undefined,
high : undefined,
low : undefined,
symbol : globalObserver.getState('symbol'),
};
this.shouldBarrierDisplay = false;
}
Expand Down
1 change: 1 addition & 0 deletions src/botPage/view/blockly/blocks/trade/tradeOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export default () => {

this.pollForContracts(symbol).then(contracts => {
if (ev.name === 'SYMBOL_LIST' && ev.oldValue !== ev.newValue) {
globalObserver.setState({ symbol: ev.newValue });
// Called to update duration options and set min durations
this.updateDurationLists(contracts, true, true);
} else if (['TRADETYPE_LIST'].includes(ev.name) && ev.oldValue !== ev.newValue) {
Expand Down

0 comments on commit 8b578dc

Please sign in to comment.