Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
akamefi202 committed Oct 12, 2023
1 parent fdca0ec commit 7bc1fcb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libs/OptionsListUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,8 @@ function getPolicyExpenseReportOption(report) {
forcePolicyNamePreview: false,
},
);

// Update text & alternateText because createOption returns workspace name only if report is owned by the user
option.text = ReportUtils.getPolicyName(report);
option.alternateText = Localize.translateLocal('workspace.common.workspace');
option.selected = report.selected;
Expand Down

0 comments on commit 7bc1fcb

Please sign in to comment.