From 1ef281157c20c96e935f8013fdadc2f3f28b64b5 Mon Sep 17 00:00:00 2001 From: akamefi202 Date: Fri, 13 Oct 2023 03:10:55 +0800 Subject: [PATCH] resolve suggestion --- src/libs/OptionsListUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/OptionsListUtils.js b/src/libs/OptionsListUtils.js index dc64619b4b9e..8f8668cf9fd7 100644 --- a/src/libs/OptionsListUtils.js +++ b/src/libs/OptionsListUtils.js @@ -555,7 +555,7 @@ function getPolicyExpenseReportOption(report) { ); // Update text & alternateText because createOption returns workspace name only if report is owned by the user - option.text = ReportUtils.getPolicyName(report); + option.text = ReportUtils.getPolicyName(expenseReport); option.alternateText = Localize.translateLocal('workspace.common.workspace'); option.selected = report.selected; return option;