Skip to content

Commit 8460a8d

Browse files
authored
Merge pull request #53733 from mkzie2/mkzie2-issue/52146
Fix temporary thread message disappear
2 parents 7a98f0d + 2ea8a9e commit 8460a8d

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
@@ -1012,7 +1012,7 @@ function ReportActionItem({
10121012
pendingAction={
10131013
draftMessage !== undefined ? undefined : action.pendingAction ?? (action.isOptimisticAction ? CONST.RED_BRICK_ROAD_PENDING_ACTION.ADD : undefined)
10141014
}
1015-
shouldHideOnDelete={!ReportActionsUtils.isThreadParentMessage(action, reportID)}
1015+
shouldHideOnDelete={!isThreadReportParentAction}
10161016
errors={linkedTransactionRouteError ?? ErrorUtils.getLatestErrorMessageField(action as ErrorUtils.OnyxDataWithErrors)}
10171017
errorRowStyles={[styles.ml10, styles.mr2]}
10181018
needsOffscreenAlphaCompositing={ReportActionsUtils.isMoneyRequestAction(action)}

0 commit comments

Comments
 (0)