Skip to content

Commit

Permalink
Fixes after merging main
Browse files Browse the repository at this point in the history
  • Loading branch information
VickyStash committed Aug 6, 2024
1 parent 57d12d3 commit 7d19455
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/AvatarWithDisplayName.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function AvatarWithDisplayName({
const [invoiceReceiverPolicy] = useOnyx(
`${ONYXKEYS.COLLECTION.POLICY}${parentReport?.invoiceReceiver && 'policyID' in parentReport.invoiceReceiver ? parentReport.invoiceReceiver.policyID : -1}`,
);
const title = ReportUtils.getReportName(report, undefined, undefined, invoiceReceiverPolicy);
const title = ReportUtils.getReportName(report, undefined, undefined, undefined, invoiceReceiverPolicy);
const subtitle = ReportUtils.getChatRoomSubtitle(report);
const parentNavigationSubtitleData = ReportUtils.getParentNavigationSubtitle(report);
const isMoneyRequestOrReport =
Expand Down
2 changes: 1 addition & 1 deletion src/libs/SidebarUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ function getOptionData({
result.phoneNumber = personalDetail?.phoneNumber;
}

const reportName = ReportUtils.getReportName(report, policy, undefined, invoiceReceiverPolicy);
const reportName = ReportUtils.getReportName(report, policy, undefined, undefined, invoiceReceiverPolicy);

result.text = reportName;
result.subtitle = subtitle;
Expand Down

0 comments on commit 7d19455

Please sign in to comment.