From 081c4bd0e014a32b7e09c48dd1f641860a2f4a65 Mon Sep 17 00:00:00 2001 From: Bernhard Owen Josephus Date: Wed, 28 May 2025 18:07:31 +0800 Subject: [PATCH] fix deleted thread with reply disappears briefly --- src/pages/home/report/PureReportActionItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/home/report/PureReportActionItem.tsx b/src/pages/home/report/PureReportActionItem.tsx index 8e6b0b80b06e..f7727c2d09e3 100644 --- a/src/pages/home/report/PureReportActionItem.tsx +++ b/src/pages/home/report/PureReportActionItem.tsx @@ -1444,7 +1444,7 @@ function PureReportActionItem({ pendingAction={ draftMessage !== undefined ? undefined : action.pendingAction ?? (action.isOptimisticAction ? CONST.RED_BRICK_ROAD_PENDING_ACTION.ADD : undefined) } - shouldHideOnDelete={!isThreadReportParentAction} + shouldHideOnDelete={!isDeletedParentAction} errors={linkedTransactionRouteError ?? !isOnSearch ? getLatestErrorMessageField(action as OnyxDataWithErrors) : {}} errorRowStyles={[styles.ml10, styles.mr2]} needsOffscreenAlphaCompositing={isMoneyRequestAction(action)}