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.
This commit is contained in:
Travis Ralston 2019-12-05 23:50:19 -07:00
parent 4873b526df
commit 75c32a2f02

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,
});
}
}