We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87149de commit 80b6dc5Copy full SHA for 80b6dc5
1 file changed
webapp/components/topbar/SwitchPageButton.js
@@ -43,13 +43,8 @@ class SwitchPageButton extends Component {
43
}
44
45
handleClick = (selectedOption) => {
46
- const instantiate = this.props.modelState === MODEL_STATE.NOT_INSTANTIATED;
47
if (selectedOption === CREATE_NETWORK) {
48
- if (instantiate) {
49
- this.props.createNetwork();
50
- } else {
51
- this.props.showNetwork();
52
- }
+ this.props.createNetwork();
53
} else if (selectedOption === SIMULATE) {
54
this.props.simulateNetwork();
55
} else if (selectedOption === CREATE_AND_SIMULATE) {
0 commit comments