Skip to content

Commit

Permalink
Merge pull request #43392 from bernhardoj/fix/43364-clean-tag-name-in…
Browse files Browse the repository at this point in the history
…-search-page

Show cleaned tag name in search page result

(cherry picked from commit a21c8a7)
  • Loading branch information
luacmartins authored and OSBotify committed Jun 10, 2024
1 parent 353f83d commit b037255
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,14 +181,14 @@ function TagCell({isLargeScreenWidth, showTooltip, transactionItem}: Transaction
return isLargeScreenWidth ? (
<TextWithTooltip
shouldShowTooltip={showTooltip}
text={transactionItem?.tag}
text={TransactionUtils.getTagForDisplay(transactionItem)}
style={[styles.optionDisplayName, styles.label, styles.pre, styles.justifyContentCenter]}
/>
) : (
<TextWithIconCell
icon={Expensicons.Tag}
showTooltip={showTooltip}
text={transactionItem?.tag}
text={TransactionUtils.getTagForDisplay(transactionItem)}
/>
);
}
Expand Down

0 comments on commit b037255

Please sign in to comment.