Skip to content

Commit

Permalink
Merge pull request #48398 from etCoderDysto/tag-review
Browse files Browse the repository at this point in the history
fix: Tag in X: Y format is displayed in X\: Y format in review flow
  • Loading branch information
puneetlath authored Sep 16, 2024
2 parents 837807d + 5240cad commit 6eb9396
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/TransactionDuplicate/ReviewTag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import useLocalize from '@hooks/useLocalize';
import useReviewDuplicatesNavigation from '@hooks/useReviewDuplicatesNavigation';
import {setReviewDuplicatesKey} from '@libs/actions/Transaction';
import type {TransactionDuplicateNavigatorParamList} from '@libs/Navigation/types';
import * as PolicyUtils from '@libs/PolicyUtils';
import * as TransactionUtils from '@libs/TransactionUtils';
import type SCREENS from '@src/SCREENS';
import type {FieldItemType} from './ReviewFields';
Expand All @@ -26,7 +27,7 @@ function ReviewTag() {
!tag
? {text: translate('violations.none'), value: ''}
: {
text: tag,
text: PolicyUtils.getCleanedTagName(tag),
value: tag,
},
),
Expand Down

0 comments on commit 6eb9396

Please sign in to comment.