@fluxhub/fluxhub-lib 1.0.474 → 1.0.476

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.
@@ -7778,7 +7778,22 @@ var FHGridComponent = /** @class */ (function () {
7778
7778
  * @return {?}
7779
7779
  */
7780
7780
  function (forza) {
7781
+ var _this = this;
7781
7782
  if (forza === void 0) { forza = false; }
7783
+ if (this.columnDefs == null) {
7784
+ setTimeout((/**
7785
+ * @return {?}
7786
+ */
7787
+ function () { _this.res_columns(forza); }), 200);
7788
+ return;
7789
+ }
7790
+ if (this.columnDefs.length == 0) {
7791
+ setTimeout((/**
7792
+ * @return {?}
7793
+ */
7794
+ function () { _this.res_columns(forza); }), 200);
7795
+ return;
7796
+ }
7782
7797
  /** @type {?} */
7783
7798
  var b_mantieni_ck = false;
7784
7799
  if (this.toggle_mantieni != null)
@@ -7830,10 +7845,11 @@ var FHGridComponent = /** @class */ (function () {
7830
7845
  catch (eer) {
7831
7846
  console.log(eer);
7832
7847
  }
7848
+ console.log('localStorage.getItem(this.grid_key + \'_FILTER\') ', localStorage.getItem(this.grid_key + '_FILTER'));
7833
7849
  if (localStorage.getItem(this.grid_key + '_FILTER') != null && (b_mantieni_ck || forza))
7834
7850
  if (localStorage.getItem(this.grid_key + '_FILTER') != '') {
7835
- // console.log(localStorage.getItem(this.grid_key+'_FILTER'));
7836
- // console.log('setto _FILTER: '+localStorage.getItem(this.grid_key+'_FILTER'));
7851
+ console.log(localStorage.getItem(this.grid_key + '_FILTER'));
7852
+ console.log('setto _FILTER: ' + localStorage.getItem(this.grid_key + '_FILTER'));
7837
7853
  try {
7838
7854
  this.gridOptions.api.setFilterModel(JSON.parse(localStorage.getItem(this.grid_key + '_FILTER')));
7839
7855
  }