Skip to content

Commit

Permalink
Merge pull request #38189 from Tony-MK/fix/38171
Browse files Browse the repository at this point in the history
fix/38171 - [CP Staging]
  • Loading branch information
srikarparsi authored Mar 12, 2024
2 parents 84ce225 + 01f92b2 commit 183699d
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 @@ -1181,7 +1181,7 @@ function hasOnlyTransactionsWithPendingRoutes(iouReportID: string | undefined):
* If the report is a thread and has a chat type set, it is a workspace chat.
*/
function isWorkspaceThread(report: OnyxEntry<Report>): boolean {
return isThread(report) && isChatReport(report) && !isDM(report);
return isThread(report) && isChatReport(report) && !!getChatType(report);
}

/**
Expand Down

0 comments on commit 183699d

Please sign in to comment.