Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Avatars] Revert PR #50557 If two avatars, use Name 1 & Name 2 pattern. #50697

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
code review
  • Loading branch information
grgia committed Nov 12, 2024

Verified

This commit was signed with the committer’s verified signature.
BartoszGrajdek Bartosz Grajdek
commit 4e1a806db599e17e9ed3b6f65351b54937bfcbc1
2 changes: 1 addition & 1 deletion src/libs/ReportUtils.ts
Original file line number Diff line number Diff line change
@@ -1682,7 +1682,7 @@ function hasOnlyNonReimbursableTransactions(iouReportID: string | undefined): bo
*/
function isOneTransactionReport(reportID: string): boolean {
const reportActions = allReportActions?.[`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${reportID}`] ?? ([] as ReportAction[]);
return ReportActionsUtils.getOneTransactionThreadReportID(reportID, reportActions) !== null;
return !!ReportActionsUtils.getOneTransactionThreadReportID(reportID, reportActions);
}

/*
Loading