Skip to content

Commit

Permalink
updated modifiedexpense logic
Browse files Browse the repository at this point in the history
  • Loading branch information
FitseTLT committed Mar 28, 2024
1 parent ab1b4f2 commit c6343c8
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 @@ -195,8 +195,8 @@ function getForReportAction(reportID: string | undefined, reportAction: OnyxEntr
const localizedTagListName = Localize.translateLocal('common.tag');
const sortedTagKeys = PolicyUtils.getSortedTagKeys(policyTags);

sortedTagKeys.forEach((_, index) => {
const policyTagListName = PolicyUtils.getTagListName(policyTags, index) || localizedTagListName;
sortedTagKeys.forEach((policyTagKey, index) => {
const policyTagListName = policyTags[policyTagKey].name || localizedTagListName;

const newTag = splittedTag[index] ?? '';
const oldTag = splittedOldTag[index] ?? '';
Expand Down

0 comments on commit c6343c8

Please sign in to comment.