Skip to content

Commit

Permalink
clean for tag modified message
Browse files Browse the repository at this point in the history
  • Loading branch information
FitseTLT committed Jan 19, 2024
1 parent 87bbdc6 commit 8834d5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libs/ModifiedExpenseMessage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ function getForReportAction(reportAction: ReportAction): string {
const hasModifiedTag = reportActionOriginalMessage && 'oldTag' in reportActionOriginalMessage && 'tag' in reportActionOriginalMessage;
if (hasModifiedTag) {
buildMessageFragmentForValue(
reportActionOriginalMessage?.tag ?? '',
reportActionOriginalMessage?.oldTag ?? '',
PolicyUtils.getCleanedTagName(reportActionOriginalMessage?.tag ?? ''),
PolicyUtils.getCleanedTagName(reportActionOriginalMessage?.oldTag ?? ''),
policyTagListName,
true,
setFragments,
Expand Down

0 comments on commit 8834d5c

Please sign in to comment.