Skip to content

Commit 6cde790

Browse files
committed
Fix starting trace type
1 parent 4c8bcf1 commit 6cde790

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/fields/TraceSelector.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class TraceSelector extends Component {
6161
this.traceOptions = [{label: 'Scatter', value: 'scatter'}];
6262
}
6363

64-
this.fullValue = plotlyToCustom(props.container);
64+
this.fullValue = plotlyToCustom(props.fullContainer);
6565
}
6666

6767
componentWillReceiveProps(nextProps, nextContext) {
@@ -94,6 +94,7 @@ TraceSelector.contextTypes = {
9494
TraceSelector.propTypes = {
9595
getValObject: PropTypes.func,
9696
container: PropTypes.object.isRequired,
97+
fullContainer: PropTypes.object.isRequired,
9798
fullValue: PropTypes.any.isRequired,
9899
updateContainer: PropTypes.func,
99100
};

0 commit comments

Comments
 (0)