Merge pull request #1663 from matrix-org/rxl881/titleRefresh
Update widget title on edit.pull/21833/head
commit
41005f5bcb
|
@ -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