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) {
|
onAction: function(payload) {
|
||||||
if (payload.action === "view_user") {
|
if (payload.action === "view_user") {
|
||||||
|
dis.dispatch({
|
||||||
|
action: 'show_right_panel',
|
||||||
|
});
|
||||||
if (payload.member) {
|
if (payload.member) {
|
||||||
this.setState({
|
this.setState({
|
||||||
phase: this.Phase.MemberInfo,
|
phase: this.Phase.MemberInfo,
|
||||||
|
|
Loading…
Reference in New Issue