dtable-utils
Advanced tools
Comparing version 4.4.0 to 4.4.1
@@ -655,3 +655,3 @@ import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray'; | ||
filters = view.filters; | ||
if (!filters || filters.length === 0) { | ||
if (!Array.isArray(filters) || filters.length === 0) { | ||
return ''; | ||
@@ -658,0 +658,0 @@ } |
@@ -300,2 +300,5 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty'; | ||
var deleteInvalidFilter = function deleteInvalidFilter(filters, columns) { | ||
if (!Array.isArray(filters) || filters.length === 0) { | ||
return []; | ||
} | ||
var cleanFilters = []; | ||
@@ -302,0 +305,0 @@ filters.forEach(function (filter) { |
@@ -665,3 +665,3 @@ 'use strict'; | ||
filters = view.filters; | ||
if (!filters || filters.length === 0) { | ||
if (!Array.isArray(filters) || filters.length === 0) { | ||
return ''; | ||
@@ -668,0 +668,0 @@ } |
@@ -308,2 +308,5 @@ 'use strict'; | ||
var deleteInvalidFilter = function deleteInvalidFilter(filters, columns) { | ||
if (!Array.isArray(filters) || filters.length === 0) { | ||
return []; | ||
} | ||
var cleanFilters = []; | ||
@@ -310,0 +313,0 @@ filters.forEach(function (filter$1) { |
{ | ||
"name": "dtable-utils", | ||
"version": "4.4.0", | ||
"version": "4.4.1", | ||
"description": "dtable common utils", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
861098
18991