Ensure that loading state is reset when showing app panel.
This commit is contained in:
parent
f796bc79c3
commit
da8b1ff1cd
1 changed files with 4 additions and 0 deletions
|
@ -176,6 +176,10 @@ export default React.createClass({
|
||||||
if (nextProps.url !== this.props.url) {
|
if (nextProps.url !== this.props.url) {
|
||||||
this._getNewUrlState(nextProps);
|
this._getNewUrlState(nextProps);
|
||||||
this.setScalarToken();
|
this.setScalarToken();
|
||||||
|
} else if (nextProps.show && !this.props.show) {
|
||||||
|
this.setState({
|
||||||
|
loading: true,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue