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

Commit 8b578dc

Browse files
author
Aaron
authored
Merge pull request #2852 from binary-com/beta
beta to master
2 parents 06b1343 + c853d0d commit 8b578dc

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/botPage/view/Dialogs/Chart.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ class ChartContent extends PureComponent {
4444
barrierType: undefined,
4545
high : undefined,
4646
low : undefined,
47+
symbol : globalObserver.getState('symbol'),
4748
};
4849
this.shouldBarrierDisplay = false;
4950
}

src/botPage/view/blockly/blocks/trade/tradeOptions.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ export default () => {
7272

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

0 commit comments

Comments
 (0)