@cocreate/utils
Advanced tools
Comparing version 1.18.1 to 1.18.2
@@ -0,1 +1,8 @@ | ||
## [1.18.2](https://github.com/CoCreate-app/CoCreate-utils/compare/v1.18.1...v1.18.2) (2023-02-01) | ||
### Bug Fixes | ||
* improved serchData function ([9ccdeb2](https://github.com/CoCreate-app/CoCreate-utils/commit/9ccdeb20be86e87e50fea2f37cb5d019ca6636bc)) | ||
## [1.18.1](https://github.com/CoCreate-app/CoCreate-utils/compare/v1.18.0...v1.18.1) (2023-01-31) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@cocreate/utils", | ||
"version": "1.18.1", | ||
"version": "1.18.2", | ||
"description": "A simple utils component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -339,6 +339,6 @@ (function (root, factory) { | ||
queryStatus = true | ||
if (queryValue === "" && logicalOperator === 'and') { | ||
if (dataValue !== "") | ||
queryStatus = false | ||
} | ||
// if (queryValue === "" && logicalOperator === 'and') { | ||
// if (dataValue !== "") | ||
// queryStatus = false | ||
// } | ||
break; | ||
@@ -452,7 +452,7 @@ case '$eq': | ||
if (search[i].operator == 'or' && status) | ||
if (status) | ||
return true; | ||
if (search[i].operator == 'and' && !status) | ||
else if (search[i].operator == 'and') | ||
return false; | ||
@@ -459,0 +459,0 @@ } |
112038