Skip to content

Commit

Permalink
Merge pull request #2651 from kaloudis/zeus-2641
Browse files Browse the repository at this point in the history
ZEUS-2641: Activity: make send and receive inclusive of 0
  • Loading branch information
kaloudis authored Dec 21, 2024
2 parents ee60f66 + 7e90181 commit 6912fbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/ActivityFilterUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class ActivityFilterUtils {
(activity) =>
!(
(activity instanceof Transaction &&
Number(activity.getAmount) < 0) ||
Number(activity.getAmount) <= 0) ||
activity instanceof Payment
)
);
Expand All @@ -42,7 +42,7 @@ class ActivityFilterUtils {
(activity) =>
!(
(activity instanceof Transaction &&
Number(activity.getAmount) > 0) ||
Number(activity.getAmount) >= 0) ||
(activity instanceof Invoice && activity.isPaid)
)
);
Expand Down

0 comments on commit 6912fbb

Please sign in to comment.