Skip to content

Commit a6257a1

Browse files
committed
show right panel if needed when viewing users
1 parent 92e187d commit a6257a1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎src/components/structures/RightPanel.js‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ module.exports = React.createClass({
8282

8383
onAction: function(payload) {
8484
if (payload.action === "view_user") {
85+
dis.dispatch({
86+
action: 'show_right_panel',
87+
});
8588
if (payload.member) {
8689
this.setState({
8790
phase: this.Phase.MemberInfo,

0 commit comments

Comments
 (0)