show right panel if needed when viewing users
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user