show right panel if needed when viewing users
This commit is contained in:
parent
92e187da64
commit
a6257a1148
|
@ -82,6 +82,9 @@ module.exports = React.createClass({
|
|||
|
||||
onAction: function(payload) {
|
||||
if (payload.action === "view_user") {
|
||||
dis.dispatch({
|
||||
action: 'show_right_panel',
|
||||
});
|
||||
if (payload.member) {
|
||||
this.setState({
|
||||
phase: this.Phase.MemberInfo,
|
||||
|
|
Loading…
Reference in New Issue