Merge pull request #666 from guardicore/665/reset-env-button-state-bug

Fix reset env state bug
This commit is contained in:
VakarisZ 2020-05-27 11:00:12 +03:00 committed by GitHub
commit d430b91eac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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>)