Fix a bug where the icons need to be clicked twice after reload

Clicking on the member icon was fine, but clicking on the file panel wouldn't bring it up - it had to be clicked a second time to actually show the panel.
pull/21833/head
Travis Ralston 2019-12-05 23:50:19 -07:00
parent 4873b526df
commit 75c32a2f02
1 changed files with 2 additions and 0 deletions

View File

@ -123,6 +123,7 @@ export default class RightPanelStore extends Store {
} else {
this._setState({
lastGroupPhase: targetPhase,
showGroupPanel: true,
});
}
} else {
@ -133,6 +134,7 @@ export default class RightPanelStore extends Store {
} else {
this._setState({
lastRoomPhase: targetPhase,
showRoomPanel: true,
});
}
}