Actually render the right panel in the new system

This commit is contained in:
Travis Ralston 2019-12-05 23:40:18 -07:00
parent 42898ec414
commit bbdff701b4
3 changed files with 9 additions and 1 deletions

View file

@ -582,6 +582,10 @@ module.exports = createReactClass({
onAction: function(payload) {
switch (payload.action) {
case 'after_right_panel_phase_change':
// We don't keep state on the right panel, so just re-render to update
this.forceUpdate();
break;
case 'message_send_failed':
case 'message_sent':
this._checkIfAlone(this.state.room);