mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
fixed
This commit is contained in:
@@ -194,6 +194,17 @@ export default class ChannelHeader extends React.Component {
|
||||
);
|
||||
}
|
||||
|
||||
const popoverListMembers = [];
|
||||
if (!isDirect) {
|
||||
popoverListMembers.push(
|
||||
<PopoverListMembers
|
||||
members={this.state.users}
|
||||
memberCount={this.state.userCount}
|
||||
channelId={channel.id}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
const dropdownContents = [];
|
||||
if (isDirect) {
|
||||
dropdownContents.push(
|
||||
@@ -442,11 +453,7 @@ export default class ChannelHeader extends React.Component {
|
||||
</div>
|
||||
</th>
|
||||
<th>
|
||||
<PopoverListMembers
|
||||
members={this.state.users}
|
||||
memberCount={this.state.userCount}
|
||||
channelId={channel.id}
|
||||
/>
|
||||
{popoverListMembers}
|
||||
</th>
|
||||
<th className='search-bar__container'><NavbarSearchBox/></th>
|
||||
<th>
|
||||
|
||||
Reference in New Issue
Block a user