You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-20 16:22:28 +03:00
Ensure that loading state is reset when showing app panel.
This commit is contained in:
@@ -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,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user