Skip to content

Commit

Permalink
Merge pull request #44140 from software-mansion-labs/war-in/fix-repor…
Browse files Browse the repository at this point in the history
…t-mentions-names

Fix displaying room mentions as IDs
  • Loading branch information
tgolen authored Jun 21, 2024
2 parents 011d547 + 3bd5dcd commit d5f1ef6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const getMentionDetails = (htmlAttributeReportID: string, currentReport: OnyxEnt

// Get mention details based on reportID from tag attribute
if (!isEmpty(htmlAttributeReportID)) {
const report = reports?.[htmlAttributeReportID];
const report = reports?.[`${ONYXKEYS.COLLECTION.REPORT}${htmlAttributeReportID}`];
reportID = report?.reportID ?? htmlAttributeReportID;
mentionDisplayText = removeLeadingLTRAndHash(report?.reportName ?? report?.displayName ?? htmlAttributeReportID);
// Get mention details from name inside tnode
Expand Down

0 comments on commit d5f1ef6

Please sign in to comment.