summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web/react/components/member_list_item.jsx4
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