@fluxhub/fluxhub-lib 1.0.475 → 1.0.477

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.
@@ -7485,10 +7485,11 @@ class FHGridComponent {
7485
7485
  catch (eer) {
7486
7486
  console.log(eer);
7487
7487
  }
7488
+ console.log('localStorage.getItem(this.grid_key + \'_FILTER\') ', localStorage.getItem(this.grid_key + '_FILTER'));
7488
7489
  if (localStorage.getItem(this.grid_key + '_FILTER') != null && (b_mantieni_ck || forza))
7489
7490
  if (localStorage.getItem(this.grid_key + '_FILTER') != '') {
7490
- // console.log(localStorage.getItem(this.grid_key+'_FILTER'));
7491
- // console.log('setto _FILTER: '+localStorage.getItem(this.grid_key+'_FILTER'));
7491
+ console.log(localStorage.getItem(this.grid_key + '_FILTER'));
7492
+ console.log('setto _FILTER: ' + localStorage.getItem(this.grid_key + '_FILTER'));
7492
7493
  try {
7493
7494
  this.gridOptions.api.setFilterModel(JSON.parse(localStorage.getItem(this.grid_key + '_FILTER')));
7494
7495
  }
@@ -7734,10 +7735,10 @@ class FHGridComponent {
7734
7735
  onAfterFilterChanged() {
7735
7736
  if (this.no_pref)
7736
7737
  return;
7737
- // console.log('afterFilterChanged');
7738
+ console.log('afterFilterChanged');
7738
7739
  localStorage.removeItem(this.grid_key + '_POS');
7739
7740
  if (this.b_init) {
7740
- // console.log('salvo f: '+JSON.stringify(this.gridOptions.api.getFilterModel()));
7741
+ console.log('salvo f: ' + JSON.stringify(this.gridOptions.api.getFilterModel()));
7741
7742
  localStorage.setItem(this.grid_key + '_FILTER', JSON.stringify(this.gridOptions.api.getFilterModel()));
7742
7743
  }
7743
7744
  }
@@ -7747,9 +7748,9 @@ class FHGridComponent {
7747
7748
  onFilterModified() {
7748
7749
  if (this.no_pref)
7749
7750
  return;
7750
- //console.log('onFilterModified');
7751
+ console.log('onFilterModified');
7751
7752
  if (this.b_init) {
7752
- //console.log('salvo f: '+JSON.stringify(this.gridOptions.api.getFilterModel()));
7753
+ console.log('salvo f: ' + JSON.stringify(this.gridOptions.api.getFilterModel()));
7753
7754
  localStorage.setItem(this.grid_key + '_FILTER', JSON.stringify(this.gridOptions.api.getFilterModel()));
7754
7755
  }
7755
7756
  }