@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.
@@ -7008,6 +7008,10 @@
7008
7008
  this.fix_flt_temp = "";
7009
7009
  if (this.m_appService.getState().grid_obj == null)
7010
7010
  this.m_appService.getState().grid_obj = {};
7011
+ if (localStorage.getItem(this.grid_key + '_FILTER_UP') != null) {
7012
+ this.ric_libera = localStorage.getItem(this.grid_key + '_FILTER_UP');
7013
+ this.fix_flt_temp = localStorage.getItem(this.grid_key + '_FILTER_UP');
7014
+ }
7011
7015
  }
7012
7016
  /**
7013
7017
  * @param {?} o
@@ -8051,7 +8055,6 @@
8051
8055
  * @return {?}
8052
8056
  */
8053
8057
  function (event) {
8054
- localStorage.setItem(this.grid_key + '_FILTER_UP', this.ric_libera);
8055
8058
  if (event.keyCode == 13) {
8056
8059
  this.free_search();
8057
8060
  }
@@ -8065,12 +8068,18 @@
8065
8068
  * @return {?}
8066
8069
  */
8067
8070
  function () {
8071
+ var _this = this;
8068
8072
  if (this.ric_libera == '') {
8069
8073
  this.pulisci_filtri();
8070
8074
  this.fix_flt_temp = '';
8071
8075
  this.doFill('', true, false);
8076
+ localStorage.removeItem(this.grid_key + '_FILTER_UP');
8072
8077
  return;
8073
8078
  }
8079
+ setTimeout((/**
8080
+ * @return {?}
8081
+ */
8082
+ function () { localStorage.setItem(_this.grid_key + '_FILTER_UP', _this.ric_libera); }), 200);
8074
8083
  /** @type {?} */
8075
8084
  var arr = this.ric_libera.split(' ');
8076
8085
  /** @type {?} */