Merge "Disable Cancel Changes button during network verification"
This commit is contained in:
commit
20660b8a34
|
@ -846,7 +846,8 @@ var NetworkTab = React.createClass({
|
||||||
},
|
},
|
||||||
renderButtons() {
|
renderButtons() {
|
||||||
var isCancelChangesDisabled = this.state.actionInProgress ||
|
var isCancelChangesDisabled = this.state.actionInProgress ||
|
||||||
!!this.props.cluster.task({group: 'deployment', active: true}) || !this.hasChanges();
|
!!this.props.cluster.task({group: ['deployment', 'network'], active: true}) ||
|
||||||
|
!this.hasChanges();
|
||||||
return (
|
return (
|
||||||
<div className='well clearfix'>
|
<div className='well clearfix'>
|
||||||
<div className='btn-group pull-right'>
|
<div className='btn-group pull-right'>
|
||||||
|
|
Loading…
Reference in New Issue