Update widget title on edit.

This commit is contained in:
Richard Lewis 2017-12-13 10:14:26 +00:00
parent eae73e584c
commit c739269777

View file

@ -226,6 +226,10 @@ export default React.createClass({
this.setState({
loading: true,
});
} else if (nextProps.widgetPageTitle !== this.props.widgetPageTitle) {
this.setState({
widgetPageTitle: nextProps.widgetPageTitle,
});
}
},