@fluxhub/fluxhub-lib 1.0.485 → 1.0.487

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.
@@ -6740,6 +6740,10 @@ class FHGridComponent {
6740
6740
  this.fix_flt_temp = "";
6741
6741
  if (this.m_appService.getState().grid_obj == null)
6742
6742
  this.m_appService.getState().grid_obj = {};
6743
+ if (localStorage.getItem(this.grid_key + '_FILTER_UP') != null) {
6744
+ this.ric_libera = localStorage.getItem(this.grid_key + '_FILTER_UP');
6745
+ this.fix_flt_temp = localStorage.getItem(this.grid_key + '_FILTER_UP');
6746
+ }
6743
6747
  }
6744
6748
  /**
6745
6749
  * @param {?} o
@@ -7627,7 +7631,6 @@ class FHGridComponent {
7627
7631
  * @return {?}
7628
7632
  */
7629
7633
  keyDownFunctioncl(event) {
7630
- localStorage.setItem(this.grid_key + '_FILTER_UP', this.ric_libera);
7631
7634
  if (event.keyCode == 13) {
7632
7635
  this.free_search();
7633
7636
  }
@@ -7641,8 +7644,13 @@ class FHGridComponent {
7641
7644
  this.pulisci_filtri();
7642
7645
  this.fix_flt_temp = '';
7643
7646
  this.doFill('', true, false);
7647
+ localStorage.removeItem(this.grid_key + '_FILTER_UP');
7644
7648
  return;
7645
7649
  }
7650
+ setTimeout((/**
7651
+ * @return {?}
7652
+ */
7653
+ () => { localStorage.setItem(this.grid_key + '_FILTER_UP', this.ric_libera); }), 200);
7646
7654
  /** @type {?} */
7647
7655
  let arr = this.ric_libera.split(' ');
7648
7656
  /** @type {?} */