Skip to content

Commit f8e968f

Browse files
authored
Merge pull request #43198 from Expensify/dangrous-flaggedwhispertag
Keep "Only visible to" tag on all whispers even if there are pending actions
2 parents a20c99a + 3bfc8c0 commit f8e968f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/home/report/ReportActionItem.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ function ReportActionItem({
945945

946946
const iouReportID = isIOUReport(action) && action.originalMessage.IOUReportID ? action.originalMessage.IOUReportID.toString() : '0';
947947
const transactionsWithReceipts = ReportUtils.getTransactionsWithReceipts(iouReportID);
948-
const isWhisper = whisperedTo.length > 0 && transactionsWithReceipts.length === 0 && !action.pendingAction;
948+
const isWhisper = whisperedTo.length > 0 && transactionsWithReceipts.length === 0;
949949
const whisperedToPersonalDetails = isWhisper
950950
? (Object.values(personalDetails ?? {}).filter((details) => whisperedTo.includes(details?.accountID ?? -1)) as OnyxTypes.PersonalDetails[])
951951
: [];

0 commit comments

Comments
 (0)