diff options
author | hmhealey <harrisonmhealey@gmail.com> | 2015-09-02 16:45:34 -0400 |
---|---|---|
committer | hmhealey <harrisonmhealey@gmail.com> | 2015-09-02 16:45:34 -0400 |
commit | 3401cc10c4a1f8d0f4738d1f711821b6c144afbd (patch) | |
tree | 2bffb9befc45ed13c0ecddd5b23f95e52f307f3d /web | |
parent | 73b24d35c079aec79c1f5cbed70bf58552d82b26 (diff) | |
download | chat-3401cc10c4a1f8d0f4738d1f711821b6c144afbd.tar.gz chat-3401cc10c4a1f8d0f4738d1f711821b6c144afbd.tar.bz2 chat-3401cc10c4a1f8d0f4738d1f711821b6c144afbd.zip |
Fixed ability to manage channel members after style guide refactoring
Diffstat (limited to 'web')
-rw-r--r-- | web/react/components/member_list_item.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/react/components/member_list_item.jsx b/web/react/components/member_list_item.jsx index d244939f5..bfce0f49f 100644 --- a/web/react/components/member_list_item.jsx +++ b/web/react/components/member_list_item.jsx @@ -44,7 +44,7 @@ export default class MemberListItem extends React.Component { var self = this; let makeAdminOption = null; - if (makeAdminOption) { + if (this.props.handleMakeAdmin) { makeAdminOption = ( <li role='presentation'> <a @@ -56,7 +56,7 @@ export default class MemberListItem extends React.Component { } let handleRemoveOption = null; - if (handleRemoveOption) { + if (this.props.handleRemove) { handleRemoveOption = ( <li role='presentation'> <a |