@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.
@@ -7800,7 +7800,22 @@
7800
7800
  * @return {?}
7801
7801
  */
7802
7802
  function (forza) {
7803
+ var _this = this;
7803
7804
  if (forza === void 0) { forza = false; }
7805
+ if (this.columnDefs == null) {
7806
+ setTimeout((/**
7807
+ * @return {?}
7808
+ */
7809
+ function () { _this.res_columns(forza); }), 200);
7810
+ return;
7811
+ }
7812
+ if (this.columnDefs.length == 0) {
7813
+ setTimeout((/**
7814
+ * @return {?}
7815
+ */
7816
+ function () { _this.res_columns(forza); }), 200);
7817
+ return;
7818
+ }
7804
7819
  /** @type {?} */
7805
7820
  var b_mantieni_ck = false;
7806
7821
  if (this.toggle_mantieni != null)
@@ -7852,10 +7867,11 @@
7852
7867
  catch (eer) {
7853
7868
  console.log(eer);
7854
7869
  }
7870
+ console.log('localStorage.getItem(this.grid_key + \'_FILTER\') ', localStorage.getItem(this.grid_key + '_FILTER'));
7855
7871
  if (localStorage.getItem(this.grid_key + '_FILTER') != null && (b_mantieni_ck || forza))
7856
7872
  if (localStorage.getItem(this.grid_key + '_FILTER') != '') {
7857
- // console.log(localStorage.getItem(this.grid_key+'_FILTER'));
7858
- // console.log('setto _FILTER: '+localStorage.getItem(this.grid_key+'_FILTER'));
7873
+ console.log(localStorage.getItem(this.grid_key + '_FILTER'));
7874
+ console.log('setto _FILTER: ' + localStorage.getItem(this.grid_key + '_FILTER'));
7859
7875
  try {
7860
7876
  this.gridOptions.api.setFilterModel(JSON.parse(localStorage.getItem(this.grid_key + '_FILTER')));
7861
7877
  }