From 8834d5c6371dfa9ef169eded1db698620ee438a7 Mon Sep 17 00:00:00 2001 From: Fitsum Abebe Date: Fri, 19 Jan 2024 19:26:58 +0300 Subject: [PATCH] clean for tag modified message --- src/libs/ModifiedExpenseMessage.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/ModifiedExpenseMessage.ts b/src/libs/ModifiedExpenseMessage.ts index ff5ad9327191..695803d7eeba 100644 --- a/src/libs/ModifiedExpenseMessage.ts +++ b/src/libs/ModifiedExpenseMessage.ts @@ -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,