Skip to content

Commit

Permalink
Merge pull request #38945 from gijoe0295/gijoe/38830
Browse files Browse the repository at this point in the history
Fix: Sender info disappears when delete one of consecutive messages
  • Loading branch information
bondydaa authored Mar 25, 2024
2 parents 5f9a057 + 8102dcd commit 464f6b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/home/report/ReportActionsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -518,13 +518,13 @@ function ReportActionsList({
index={index}
report={report}
linkedReportActionID={linkedReportActionID}
displayAsGroup={ReportActionsUtils.isConsecutiveActionMadeByPreviousActor(sortedReportActions, index)}
displayAsGroup={ReportActionsUtils.isConsecutiveActionMadeByPreviousActor(sortedVisibleReportActions, index)}
mostRecentIOUReportActionID={mostRecentIOUReportActionID}
shouldHideThreadDividerLine={shouldHideThreadDividerLine}
shouldDisplayNewMarker={shouldDisplayNewMarker(reportAction, index)}
/>
),
[report, linkedReportActionID, sortedReportActions, mostRecentIOUReportActionID, shouldHideThreadDividerLine, shouldDisplayNewMarker, parentReportAction],
[report, linkedReportActionID, sortedVisibleReportActions, mostRecentIOUReportActionID, shouldHideThreadDividerLine, shouldDisplayNewMarker, parentReportAction],
);

// Native mobile does not render updates flatlist the changes even though component did update called.
Expand Down

0 comments on commit 464f6b4

Please sign in to comment.