logitude-dashboard-library 3.1.41 → 3.1.42

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/dist/index.js CHANGED
@@ -1320,6 +1320,12 @@ var TableChart = function TableChart(props) {
1320
1320
  case "IsNotEmpty":
1321
1321
  return !isValueEmpty(value);
1322
1322
 
1323
+ case "Contains":
1324
+ return !isValueEmpty(value) && !isValueEmpty(ruleValue1) && value.includes(ruleValue1);
1325
+
1326
+ case "NotContains":
1327
+ return !isValueEmpty(value) && !isValueEmpty(ruleValue1) && !value.includes(ruleValue1);
1328
+
1323
1329
  default:
1324
1330
  return null;
1325
1331
  }