mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 20:26:19 +02:00
Explicitly set initialisation state.
This commit is contained in:
parent
da8b1ff1cd
commit
98ac3dd19b
@ -128,6 +128,8 @@ export default React.createClass({
|
||||
* Component initialisation is only complete when this function has resolved
|
||||
*/
|
||||
setScalarToken() {
|
||||
this.setState({initialising: true});
|
||||
|
||||
if (!this.isScalarUrl(this.props.url)) {
|
||||
console.warn('Non-scalar widget, not setting scalar token!', url);
|
||||
this.setState({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user