ninegrid2 6.144.0 → 6.146.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.
@@ -18036,7 +18036,7 @@ class ngFiltering
18036
18036
  }
18037
18037
  });
18038
18038
 
18039
- if (data.length > 0) {
18039
+ if (options.length > 0) {
18040
18040
  const filterButton = document.createElement("ng-filter-button"); // ✅ `ng-filter-button` 생성
18041
18041
  el.appendChild(filterButton);
18042
18042
  filterButton.filterOptions = options; // ✅ 속성 설정
@@ -18034,7 +18034,7 @@ class ngFiltering
18034
18034
  }
18035
18035
  });
18036
18036
 
18037
- if (data.length > 0) {
18037
+ if (options.length > 0) {
18038
18038
  const filterButton = document.createElement("ng-filter-button"); // ✅ `ng-filter-button` 생성
18039
18039
  el.appendChild(filterButton);
18040
18040
  filterButton.filterOptions = options; // ✅ 속성 설정
@@ -171,7 +171,7 @@ export class ngFiltering
171
171
  }
172
172
  });
173
173
 
174
- if (data.length > 0) {
174
+ if (options.length > 0) {
175
175
  const filterButton = document.createElement("ng-filter-button"); // ✅ `ng-filter-button` 생성
176
176
  el.appendChild(filterButton);
177
177
  filterButton.filterOptions = options; // ✅ 속성 설정
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.144.0",
4
+ "version": "6.146.0",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
7
7
  "import": "./dist/index.js",
@@ -171,7 +171,7 @@ export class ngFiltering
171
171
  }
172
172
  });
173
173
 
174
- if (data.length > 0) {
174
+ if (options.length > 0) {
175
175
  const filterButton = document.createElement("ng-filter-button"); // ✅ `ng-filter-button` 생성
176
176
  el.appendChild(filterButton);
177
177
  filterButton.filterOptions = options; // ✅ 속성 설정