@monolith-forensics/monolith-ui 1.2.87 → 1.2.89

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.
@@ -171,6 +171,13 @@ const TableProvider = (_a) => {
171
171
  for (const rule of rules) {
172
172
  const column = columnState.find((col) => col.dataField === rule.dataField);
173
173
  const { value, operator, dataField } = rule;
174
+ if (operator.value === "isEmpty" || operator.value === "isNotEmpty") {
175
+ processedData = processedData.filter((row) => {
176
+ return operator.value === "isEmpty"
177
+ ? !row[dataField]
178
+ : row[dataField];
179
+ });
180
+ }
174
181
  if (!value || value.length === 0) {
175
182
  continue;
176
183
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monolith-forensics/monolith-ui",
3
- "version": "1.2.87",
3
+ "version": "1.2.89",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "author": "Matt Danner (Monolith Forensics LLC)",