Skip to content

Commit

Permalink
Merge pull request #21148 from Pujan92/fix/21127
Browse files Browse the repository at this point in the history
Fix: Search - Group chat displays blank in Search results
(cherry picked from commit 9e846bd)
  • Loading branch information
amyevans authored and OSBotify committed Jun 20, 2023
1 parent 97efd0c commit f2bd37e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/OptionRow.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ class OptionRow extends Component {

// We only create tooltips for the first 10 users or so since some reports have hundreds of users, causing performance to degrade.
const displayNamesWithTooltips = ReportUtils.getDisplayNamesWithTooltips(
(this.props.option.participantsList || this.props.option.accountID ? [this.props.option] : []).slice(0, 10),
(this.props.option.participantsList || (this.props.option.accountID ? [this.props.option] : [])).slice(0, 10),
isMultipleParticipant,
);
let subscriptColor = themeColors.appBG;
Expand Down

0 comments on commit f2bd37e

Please sign in to comment.