ninegrid2 6.195.0 → 6.197.0

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.
@@ -18491,7 +18491,7 @@ class ngFilterPanel extends HTMLElement
18491
18491
 
18492
18492
  owner.body.querySelectorAll("ng-filter-button").forEach(el => {
18493
18493
  //console.log(el);
18494
- if (el.closest('th,td').dataset.col != col && el.filterOptions) {
18494
+ if (el.closest('th,td').dataset.col != col && el.filterOptions.length > 0) {
18495
18495
 
18496
18496
  //console.log("================", el.filterOptions);
18497
18497
 
@@ -18489,7 +18489,7 @@ class ngFilterPanel extends HTMLElement
18489
18489
 
18490
18490
  owner.body.querySelectorAll("ng-filter-button").forEach(el => {
18491
18491
  //console.log(el);
18492
- if (el.closest('th,td').dataset.col != col && el.filterOptions) {
18492
+ if (el.closest('th,td').dataset.col != col && el.filterOptions.length > 0) {
18493
18493
 
18494
18494
  //console.log("================", el.filterOptions);
18495
18495
 
@@ -561,7 +561,7 @@ class ngFilterPanel extends HTMLElement
561
561
 
562
562
  owner.body.querySelectorAll("ng-filter-button").forEach(el => {
563
563
  //console.log(el);
564
- if (el.closest('th,td').dataset.col != col && el.filterOptions) {
564
+ if (el.closest('th,td').dataset.col != col && el.filterOptions.length > 0) {
565
565
 
566
566
  //console.log("================", el.filterOptions);
567
567
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.195.0",
4
+ "version": "6.197.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
@@ -561,7 +561,7 @@ class ngFilterPanel extends HTMLElement
561
561
 
562
562
  owner.body.querySelectorAll("ng-filter-button").forEach(el => {
563
563
  //console.log(el);
564
- if (el.closest('th,td').dataset.col != col && el.filterOptions) {
564
+ if (el.closest('th,td').dataset.col != col && el.filterOptions.length > 0) {
565
565
 
566
566
  //console.log("================", el.filterOptions);
567
567