Unrelated lint...

pull/949/head
Mikunj 5 years ago
parent 9e9b2a12d6
commit aeb349ea64

@ -255,17 +255,17 @@ export class ConversationHeader extends React.Component<Props> {
); );
} }
public renderSearch() { public renderSearch() {
return ( return (
<div className="search-icon"> <div className="search-icon">
<SessionIconButton <SessionIconButton
iconType={SessionIconType.Search} iconType={SessionIconType.Search}
iconSize={SessionIconSize.Large} iconSize={SessionIconSize.Large}
iconPadded={true} iconPadded={true}
onClick={this.highlightMessageSearch} onClick={this.highlightMessageSearch}
/> />
</div> </div>
); );
} }
public renderOptions(triggerId: string) { public renderOptions(triggerId: string) {
@ -398,12 +398,8 @@ export class ConversationHeader extends React.Component<Props> {
</div> </div>
</div> </div>
{this.renderExpirationLength()} {this.renderExpirationLength()}
{!this.props.isRss && ( {!this.props.isRss && <>{this.renderAvatar()}</>}
<>
{this.renderAvatar()}
</>
)}
{!this.props.isRss && this.renderAvatar()} {!this.props.isRss && this.renderAvatar()}
@ -419,10 +415,10 @@ export class ConversationHeader extends React.Component<Props> {
} }
} }
public highlightMessageSearch() { public highlightMessageSearch() {
// This is a temporary fix. In future we want to search // This is a temporary fix. In future we want to search
// messages in the current conversation // messages in the current conversation
$('.session-search-input input').focus(); $('.session-search-input input').focus();
} }
private renderPublicMenuItems() { private renderPublicMenuItems() {

Loading…
Cancel
Save