Skip to content

Commit

Permalink
Merge pull request #34937 from Expensify/jasper-updateComment
Browse files Browse the repository at this point in the history
[NO QA] Update comment
  • Loading branch information
puneetlath authored Feb 14, 2024
2 parents 0e419dd + ff4d83b commit 9b7e310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/ReportUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ function getPolicyName(report: OnyxEntry<Report> | undefined | EmptyObject, retu

const parentReport = getRootParentReport(report);

// Public rooms send back the policy name with the reportSummary,
// Rooms send back the policy name with the reportSummary,
// since they can also be accessed by people who aren't in the workspace
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
const policyName = finalPolicy?.name || report?.policyName || report?.oldPolicyName || parentReport?.oldPolicyName || noPolicyFound;
Expand Down

0 comments on commit 9b7e310

Please sign in to comment.