Merge remote-tracking branch 'origin/develop' into next
This commit is contained in:
commit
165b924ce7
|
@ -488,6 +488,12 @@ class UI extends React.PureComponent {
|
||||||
|
|
||||||
componentDidUpdate(prevProps) {
|
componentDidUpdate(prevProps) {
|
||||||
this.connectStreaming();
|
this.connectStreaming();
|
||||||
|
|
||||||
|
const { dispatch, features } = this.props;
|
||||||
|
|
||||||
|
if (features.chats && !prevProps.features.chats) {
|
||||||
|
dispatch(fetchChats());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillUnmount() {
|
componentWillUnmount() {
|
||||||
|
|
Loading…
Reference in New Issue