MM-16472 Fix renderItem not returning anything (#2909)
This commit is contained in:
parent
3f79a2e07f
commit
06b3273fd8
1 changed files with 2 additions and 2 deletions
|
|
@ -243,7 +243,7 @@ export default class ChannelMembers extends PureComponent {
|
|||
enabled: props.id !== this.props.currentUserId,
|
||||
};
|
||||
|
||||
this.renderItem(props, selectProps);
|
||||
return this.renderItem(props, selectProps);
|
||||
}
|
||||
|
||||
renderUnselectableItem = (props) => {
|
||||
|
|
@ -252,7 +252,7 @@ export default class ChannelMembers extends PureComponent {
|
|||
enabled: false,
|
||||
};
|
||||
|
||||
this.renderItem(props, selectProps);
|
||||
return this.renderItem(props, selectProps);
|
||||
};
|
||||
|
||||
renderLoading = () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue