Merge pull request #1663 from matrix-org/rxl881/titleRefresh
Update widget title on edit.
This commit is contained in:
commit
41005f5bcb
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue