Skip to content

Commit

Permalink
fix: apply suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
pac-guerreiro committed Jul 29, 2024
1 parent 370c28b commit 57091ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libs/ReportUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7193,8 +7193,8 @@ function shouldShowMerchantColumn(transactions: Transaction[]) {
*/
function isChatUsedForOnboarding(optionOrReport: OnyxEntry<Report> | OptionData): boolean {
// onboarding can be an array for old accounts and accounts created from olddot
if (onboarding && !Array.isArray(onboarding) && onboarding.chatReportID && optionOrReport?.chatReportID) {
return onboarding.chatReportID === optionOrReport.chatReportID;
if (onboarding && !Array.isArray(onboarding) && onboarding.chatReportID) {
return onboarding.chatReportID === optionOrReport?.reportID;
}

return AccountUtils.isAccountIDOddNumber(currentUserAccountID ?? -1)
Expand Down

0 comments on commit 57091ea

Please sign in to comment.