1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-10 09:22:25 +03:00

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