Skip to content

Commit

Permalink
removed unnecessary if block that was removing the policy name from h…
Browse files Browse the repository at this point in the history
…eader when it was not supposed to.
  • Loading branch information
barros001 committed Feb 28, 2024
1 parent 5f8b459 commit 663eb40
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/libs/ReportUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2585,12 +2585,6 @@ function getParentNavigationSubtitle(report: OnyxEntry<Report>): ParentNavigatio
return {};
}

if (isIOURequest(parentReport)) {
return {
reportName: getReportName(parentReport),
};
}

return {
reportName: getReportName(parentReport),
workspaceName: getPolicyName(parentReport, true),
Expand Down

0 comments on commit 663eb40

Please sign in to comment.