@fluxhub/fluxhub-lib 10.0.144 → 10.0.146

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.
@@ -5797,14 +5797,17 @@
5797
5797
  include_null_value = true;
5798
5798
  }
5799
5799
  var num_all = -1;
5800
- var countryFilterComponent = this.gridOptions.api.getFilterInstance(key);
5800
+ var countryFilterComponent = this.gridOptions.api.getColumnDef(key);
5801
5801
  console.log('countryFilterComponent ', countryFilterComponent);
5802
- if (countryFilterComponent != null) {
5803
- var model = countryFilterComponent.getModel();
5804
- console.log('model ', model);
5805
- if (model != null)
5806
- num_all = model.values.length;
5807
- }
5802
+ if (countryFilterComponent != null)
5803
+ if (countryFilterComponent.filterParams != null)
5804
+ if (countryFilterComponent.filterParams.values != null) {
5805
+ var model_1 = countryFilterComponent.filterParams.values;
5806
+ model_1 = model_1.filter(function (n, i) { return model_1.indexOf(n) === i; });
5807
+ console.log('model ', model_1);
5808
+ if (model_1 != null)
5809
+ num_all = model_1.length;
5810
+ }
5808
5811
  console.log('obj_filtro.values.length!=num_all ', obj_filtro.values.length, num_all);
5809
5812
  if (sq != "") {
5810
5813
  if (obj_filtro.values.length != num_all) {