Merge pull request #564 from hmhealey/memberlist
Fixed ability to manage channel members after style guide refactoring
Этот коммит содержится в:
@@ -44,7 +44,7 @@ export default class MemberListItem extends React.Component {
|
|||||||
var self = this;
|
var self = this;
|
||||||
|
|
||||||
let makeAdminOption = null;
|
let makeAdminOption = null;
|
||||||
if (makeAdminOption) {
|
if (this.props.handleMakeAdmin) {
|
||||||
makeAdminOption = (
|
makeAdminOption = (
|
||||||
<li role='presentation'>
|
<li role='presentation'>
|
||||||
<a
|
<a
|
||||||
@@ -56,7 +56,7 @@ export default class MemberListItem extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let handleRemoveOption = null;
|
let handleRemoveOption = null;
|
||||||
if (handleRemoveOption) {
|
if (this.props.handleRemove) {
|
||||||
handleRemoveOption = (
|
handleRemoveOption = (
|
||||||
<li role='presentation'>
|
<li role='presentation'>
|
||||||
<a
|
<a
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user