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]

(cherry picked from commit 183699d)
  • Loading branch information
srikarparsi authored and OSBotify committed Mar 12, 2024
1 parent 0f11fed commit b517997
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 @@ -1177,7 +1177,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 b517997

Please sign in to comment.