forked from p15670423/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
|
Reset environment
|
||||||
</button>
|
</button>
|
||||||
<button type='button' className='btn btn-success btn-lg' style={{margin: '5px'}}
|
<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
|
Cancel
|
||||||
</button>
|
</button>
|
||||||
</div>)
|
</div>)
|
||||||
|
|
Loading…
Reference in New Issue