|
|
@ -233,7 +233,9 @@ uncollapse our status accordingly. |
|
|
|
|
|
|
|
|
|
|
|
componentWillReceiveProps (nextProps) { |
|
|
|
componentWillReceiveProps (nextProps) { |
|
|
|
if (!nextProps.settings.getIn(['collapsed', 'enabled'])) { |
|
|
|
if (!nextProps.settings.getIn(['collapsed', 'enabled'])) { |
|
|
|
this.setExpansion(true); |
|
|
|
if (this.state.isExpanded === false) { |
|
|
|
|
|
|
|
this.setExpansion(null); |
|
|
|
|
|
|
|
} |
|
|
|
} else if ( |
|
|
|
} else if ( |
|
|
|
nextProps.collapse !== this.props.collapse && |
|
|
|
nextProps.collapse !== this.props.collapse && |
|
|
|
nextProps.collapse !== undefined |
|
|
|
nextProps.collapse !== undefined |
|
|
|