mirror of https://github.com/vector-im/riot-web
Update widget title on edit.
parent
eae73e584c
commit
c739269777
|
@ -226,6 +226,10 @@ export default React.createClass({
|
|||
this.setState({
|
||||
loading: true,
|
||||
});
|
||||
} else if (nextProps.widgetPageTitle !== this.props.widgetPageTitle) {
|
||||
this.setState({
|
||||
widgetPageTitle: nextProps.widgetPageTitle,
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue