mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-06 06:28:27 +00:00
notify new screen after setting state
This commit is contained in:
@@ -874,9 +874,10 @@ export default createReactClass({
|
|||||||
if (roomInfo.event_id && roomInfo.highlighted) {
|
if (roomInfo.event_id && roomInfo.highlighted) {
|
||||||
presentedId += "/" + roomInfo.event_id;
|
presentedId += "/" + roomInfo.event_id;
|
||||||
}
|
}
|
||||||
this.notifyNewScreen('room/' + presentedId);
|
|
||||||
newState.ready = true;
|
newState.ready = true;
|
||||||
this.setState(newState);
|
this.setState(newState, ()=>{
|
||||||
|
this.notifyNewScreen('room/' + presentedId);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user