diff --git a/utils/ActivityFilterUtils.ts b/utils/ActivityFilterUtils.ts index 854dde398..c7bd9ff1e 100644 --- a/utils/ActivityFilterUtils.ts +++ b/utils/ActivityFilterUtils.ts @@ -31,7 +31,7 @@ class ActivityFilterUtils { (activity) => !( (activity instanceof Transaction && - Number(activity.getAmount) < 0) || + Number(activity.getAmount) <= 0) || activity instanceof Payment ) ); @@ -42,7 +42,7 @@ class ActivityFilterUtils { (activity) => !( (activity instanceof Transaction && - Number(activity.getAmount) > 0) || + Number(activity.getAmount) >= 0) || (activity instanceof Invoice && activity.isPaid) ) );