Skip to content

Commit

Permalink
Fix comment of the grouping
Browse files Browse the repository at this point in the history
Signed-off-by: Tsaqif <[email protected]>
  • Loading branch information
tsa321 committed Oct 29, 2023
1 parent 8682227 commit b2cd9a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/ReportActionsUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ function isConsecutiveActionMadeByPreviousActor(reportActions: ReportAction[] |
return false;
}

// Do not group if report preview is the type of current or previous report action, but not both
// Do not group if one of previous / current action is report preview and another one is not report preview
if ((isReportPreviewAction(previousAction) && !isReportPreviewAction(currentAction)) || (isReportPreviewAction(currentAction) && !isReportPreviewAction(previousAction))) {
return false;
}
Expand Down

0 comments on commit b2cd9a2

Please sign in to comment.