@fluxhub/fluxhub-lib 10.0.145 → 10.0.147

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.
@@ -5802,10 +5802,11 @@
5802
5802
  if (countryFilterComponent != null)
5803
5803
  if (countryFilterComponent.filterParams != null)
5804
5804
  if (countryFilterComponent.filterParams.values != null) {
5805
- var model = countryFilterComponent.filterParams.values;
5806
- console.log('model ', model);
5807
- if (model != null)
5808
- num_all = model.values.length;
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;
5809
5810
  }
5810
5811
  console.log('obj_filtro.values.length!=num_all ', obj_filtro.values.length, num_all);
5811
5812
  if (sq != "") {
@@ -5830,7 +5831,6 @@
5830
5831
  filter_v = filter_v + " " + key + " is null";
5831
5832
  }
5832
5833
  }
5833
- this.show_pulisci_filtri = b_filter;
5834
5834
  if (this.ric_libera != null)
5835
5835
  if (this.ric_libera != "")
5836
5836
  this.show_pulisci_filtri = true;