Skip to content

Commit

Permalink
don't allow invoice to be mentionable
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardoj committed Jul 2, 2024
1 parent 9fbbbfb commit 2bc690c
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 @@ -7041,7 +7041,7 @@ function canReportBeMentionedWithinPolicy(report: OnyxEntry<Report>, policyID: s
return false;
}

return isChatRoom(report) && !isThread(report);
return isChatRoom(report) && !isInvoiceRoom(report) && !isThread(report);
}

function shouldShowMerchantColumn(transactions: Transaction[]) {
Expand Down

0 comments on commit 2bc690c

Please sign in to comment.