From 2bc690ce4c7368d9303d0669ba8e0f9f23f8ef91 Mon Sep 17 00:00:00 2001 From: Bernhard Owen Josephus Date: Tue, 2 Jul 2024 21:09:01 +0800 Subject: [PATCH] don't allow invoice to be mentionable --- src/libs/ReportUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/ReportUtils.ts b/src/libs/ReportUtils.ts index cf47864a779e..b5dbb878ce4c 100644 --- a/src/libs/ReportUtils.ts +++ b/src/libs/ReportUtils.ts @@ -7041,7 +7041,7 @@ function canReportBeMentionedWithinPolicy(report: OnyxEntry, policyID: s return false; } - return isChatRoom(report) && !isThread(report); + return isChatRoom(report) && !isInvoiceRoom(report) && !isThread(report); } function shouldShowMerchantColumn(transactions: Transaction[]) {