Skip to content

Commit

Permalink
Merge pull request #48206 from FitseTLT/fix-distance-rate-name-missin…
Browse files Browse the repository at this point in the history
…g-in-LHN

Fix - LHN preview is missing distance rate name in distance rate removal system message
  • Loading branch information
Julesssss authored Sep 2, 2024
2 parents 3d8ee65 + 139e18b commit 7426771
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libs/SidebarUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,8 @@ function getOptionData({
result.alternateText = ReportActionsUtils.getPolicyChangeLogChangeRoleMessage(lastAction);
} else if (lastAction?.actionName === CONST.REPORT.ACTIONS.TYPE.POLICY_CHANGE_LOG.DELETE_EMPLOYEE) {
result.alternateText = ReportActionsUtils.getPolicyChangeLogDeleteMemberMessage(lastAction);
} else if (lastAction?.actionName === CONST.REPORT.ACTIONS.TYPE.POLICY_CHANGE_LOG.DELETE_CUSTOM_UNIT_RATE) {
result.alternateText = ReportActionsUtils.getReportActionMessageText(lastAction) ?? '';
} else {
result.alternateText =
lastMessageTextFromReport.length > 0
Expand Down

0 comments on commit 7426771

Please sign in to comment.