File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1289,12 +1289,8 @@ function getOneTransactionThreadReportAction(
12891289 action . childReportID &&
12901290 // Include deleted IOU reportActions if:
12911291 // - they have an associated IOU transaction ID or
1292- // - they have visible childActions (like comments) that we'd want to display
12931292 // - the action is pending deletion and the user is offline
1294- ( ! ! originalMessage ?. IOUTransactionID ||
1295- // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
1296- ( isMessageDeleted ( action ) && action . childVisibleActionCount ) ||
1297- ( action . pendingAction === CONST . RED_BRICK_ROAD_PENDING_ACTION . DELETE && ( isOffline ?? isNetworkOffline ) ) )
1293+ ( ! ! originalMessage ?. IOUTransactionID || ( action . pendingAction === CONST . RED_BRICK_ROAD_PENDING_ACTION . DELETE && ( isOffline ?? isNetworkOffline ) ) )
12981294 ) {
12991295 iouRequestActions . push ( action ) ;
13001296 }
You can’t perform that action at this time.
0 commit comments