toggle-components-library 1.16.0 → 1.16.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "toggle-components-library",
3
- "version": "1.16.0",
3
+ "version": "1.16.1",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -102,12 +102,16 @@ export default {
102
102
  return this.fields;
103
103
  },
104
104
 
105
- searchActive() {
105
+ searchActive() {
106
106
  if(this.editingInput) {
107
107
  return true;
108
108
  }
109
109
  for(let col in this.searchModels){
110
- if (col == 'date') {if(this.searchModels[col].start) return true;}
110
+ if(!this.searchModels[col])
111
+ return false;
112
+ if (this.searchModels[col].start !== undefined) {
113
+ return true;
114
+ }
111
115
  else if(this.searchModels[col]) return true;
112
116
  }
113
117
  return false;