mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-27 17:31:50 +02:00
Update widget title on edit.
This commit is contained in:
parent
eae73e584c
commit
c739269777
@ -226,6 +226,10 @@ export default React.createClass({
|
|||||||
this.setState({
|
this.setState({
|
||||||
loading: true,
|
loading: true,
|
||||||
});
|
});
|
||||||
|
} else if (nextProps.widgetPageTitle !== this.props.widgetPageTitle) {
|
||||||
|
this.setState({
|
||||||
|
widgetPageTitle: nextProps.widgetPageTitle,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user