@zeniai/client-epic-state 5.0.64-betaAR1 → 5.0.64-betaAR2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/esm/view/expenseAutomationView/transactionFilterHelpers.js +3 -3
- package/lib/tsconfig.typecheck.tsbuildinfo +1 -1
- package/lib/view/expenseAutomationView/transactionFilterHelpers.d.ts +1 -1
- package/lib/view/expenseAutomationView/transactionFilterHelpers.js +3 -3
- package/package.json +1 -1
|
@@ -117,19 +117,19 @@ const matchAmount = (amount, category) => {
|
|
|
117
117
|
const op = category.matchingOperator;
|
|
118
118
|
const values = category.values;
|
|
119
119
|
let matched = false;
|
|
120
|
-
if (op === '
|
|
120
|
+
if (op === 'in_between') {
|
|
121
121
|
if (values.length >= 2) {
|
|
122
122
|
const min = Number(values[0]);
|
|
123
123
|
const max = Number(values[1]);
|
|
124
124
|
matched = amount >= min && amount <= max;
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
|
-
else if (op === '
|
|
127
|
+
else if (op === 'less_than') {
|
|
128
128
|
if (values.length >= 1) {
|
|
129
129
|
matched = amount < Number(values[0]);
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
|
-
else if (op === '
|
|
132
|
+
else if (op === 'greater_than') {
|
|
133
133
|
if (values.length >= 1) {
|
|
134
134
|
matched = amount > Number(values[0]);
|
|
135
135
|
}
|