forked from p34709852/monkey
Merge pull request #666 from guardicore/665/reset-env-button-state-bug
Fix reset env state bug
This commit is contained in:
commit
d430b91eac
|
@ -56,7 +56,7 @@ class StartOverModal extends React.PureComponent {
|
|||
Reset environment
|
||||
</button>
|
||||
<button type='button' className='btn btn-success btn-lg' style={{margin: '5px'}}
|
||||
onClick={() => this.setState({showCleanDialog: false})}>
|
||||
onClick={() => {this.props.onClose(); this.setState({showCleanDialog: false})}}>
|
||||
Cancel
|
||||
</button>
|
||||
</div>)
|
||||
|
|
Loading…
Reference in New Issue