Merge pull request #791 from vincentbavitz/clearnet

Grunt fixes
pull/792/head
Vince 5 years ago committed by GitHub
commit c288f28a1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -190,7 +190,6 @@ export class LeftPane extends React.Component<Props, State> {
return (
<LeftPaneChannelSection
friends={friends}
openConversationInternal={openConversationInternal}
conversations={conversations}
searchResults={searchResults}

@ -380,11 +380,9 @@ export class ConversationHeader extends React.Component<Props> {
}
public render() {
const { id, isGroup, isPublic } = this.props;
const { id } = this.props;
const triggerId = `conversation-${id}-${Date.now()}`;
const isPrivateGroup = isGroup && !isPublic;
return (
<>
{this.renderSelectionOverlay()}
@ -419,22 +417,6 @@ export class ConversationHeader extends React.Component<Props> {
$('.session-search-input input').focus();
}
private renderMemberCount() {
const memberCount = this.props.isPublic
? this.props.subscriberCount
: this.props.members.length;
if (memberCount === 0) {
return null;
}
const wordForm = memberCount === 1 ? 'member' : 'members';
return (
<span className="member-preview">{`(${memberCount} ${wordForm})`}</span>
);
}
private renderPublicMenuItems() {
const {
i18n,

Loading…
Cancel
Save