Fix Apply button progress state on interface management screen
Change-Id: Ibb3bca81562b12b05b7df664c3bf8c41cd843e6f Closes-Bug: #1646177
This commit is contained in:
parent
90f92f0dd6
commit
6622cb41f7
|
@ -217,7 +217,7 @@ var EditNodeInterfacesScreen = React.createClass({
|
|||
return interfaces.map((ifc) => picker(ifc.toJSON()));
|
||||
},
|
||||
hasChangesInRemainingNodes() {
|
||||
var {nodes, interfaces} = this.props;
|
||||
var {nodes, interfaces, bondAttributeNames} = this.props;
|
||||
var {limitations} = this.state;
|
||||
|
||||
var firstNodeInterfacesData = this.interfacesToJSON(interfaces, true);
|
||||
|
@ -235,6 +235,7 @@ var EditNodeInterfacesScreen = React.createClass({
|
|||
case 'attributes': {
|
||||
// omit restricted parameters from the comparison
|
||||
return _.some(data, (section, sectionName) =>
|
||||
!_.includes(bondAttributeNames, sectionName) &&
|
||||
limitationsData[sectionName].equal &&
|
||||
_.some(section, (setting, settingName) =>
|
||||
!_.isEqual(
|
||||
|
|
Loading…
Reference in New Issue