Skip to content

Commit

Permalink
fix: update cardName logic in CardHistoryDetails to use metaOverlay n…
Browse files Browse the repository at this point in the history
…ame if available (#264)

Signed-off-by: Jean-Christophe Drouin <[email protected]>
  • Loading branch information
jcdrouin21 authored Feb 11, 2025
1 parent e071f47 commit 1db7fc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/screens/activities/CardHistoryDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ const CardHistorydDetails: React.FC<CardHistorydDetailsProp> = ({ route, navigat
<View style={styles.headerStyle}>
<HeaderText
title={t('History.CardDescription.CardChanged', {
cardName: itemContent?.message ? startCaseUnicode(itemContent.correspondenceName ?? '') : '',
cardName: overlay.metaOverlay?.name ?? startCaseUnicode(itemContent.message ?? ''),
operation: operation,
interpolation: { escapeValue: false },
})}
Expand Down

0 comments on commit 1db7fc2

Please sign in to comment.