You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
Update widget title on edit.
This commit is contained in:
@@ -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,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user