Skip to content

Commit

Permalink
ZEUS-2641: Activity: make send and receive inclusive of 0
Browse files Browse the repository at this point in the history
  • Loading branch information
kaloudis committed Dec 19, 2024
1 parent 9042771 commit 7e90181
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 7e90181

Please sign in to comment.