show right panel if needed when viewing users

pull/1232/head
Matthew Hodgson 2016-03-18 16:09:00 +00:00
parent 92e187da64
commit a6257a1148
1 changed files with 3 additions and 0 deletions

View File

@ -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,