Skip to content

Commit

Permalink
fix isReversedTransaction
Browse files Browse the repository at this point in the history
  • Loading branch information
dragnoir committed Apr 30, 2024
1 parent 6893bd9 commit ca6e3c4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pages/home/report/ReportActionsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -463,8 +463,7 @@ function ReportActionsList({
}

if (ReportActionsUtils.isTransactionThread(parentReportAction)) {
const isReversedTransaction = ReportActionsUtils.isReversedTransaction(parentReportAction);
return !(ReportActionsUtils.isDeletedParentAction(parentReportAction) || isReversedTransaction);
return !ReportActionsUtils.isDeletedParentAction(parentReportAction) && !ReportActionsUtils.isReversedTransaction(parentReportAction);
}

if (ReportUtils.isTaskReport(report)) {
Expand Down

0 comments on commit ca6e3c4

Please sign in to comment.