@fluxhub/fluxhub-lib 1.0.294 → 1.0.295

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.
@@ -4883,7 +4883,18 @@
4883
4883
  if (localStorage.getItem(this.grid_key + '_COLS') != null && (b_mantieni_ck || forza))
4884
4884
  if (localStorage.getItem(this.grid_key + '_COLS') != '') {
4885
4885
  try {
4886
- this.gridOptions.columnApi.setColumnState(JSON.parse(localStorage.getItem(this.grid_key + '_COLS')));
4886
+ /** @type {?} */
4887
+ var a = JSON.parse(localStorage.getItem(this.grid_key + '_COLS'));
4888
+ /** @type {?} */
4889
+ var annulla = true;
4890
+ for (var i = 0; i < a.length; i++) {
4891
+ if (!a[i].hide)
4892
+ annulla = false;
4893
+ }
4894
+ if (annulla)
4895
+ localStorage.getItem(this.grid_key + '_COLS');
4896
+ else
4897
+ this.gridOptions.columnApi.setColumnState(JSON.parse(localStorage.getItem(this.grid_key + '_COLS')));
4887
4898
  }
4888
4899
  catch (eer) {
4889
4900
  console.log(eer);
@@ -13103,9 +13114,9 @@
13103
13114
  */
13104
13115
  function () {
13105
13116
  var _this = this;
13106
- console.log(this.m_appService.COMPANY_KEY + this.tbl_name);
13107
13117
  console.log('m_appService ', this.m_appService);
13108
13118
  console.log('localstore ', this.localstore);
13119
+ console.log(this.m_appService.COMPANY_KEY + this.tbl_name);
13109
13120
  this.localstore.read(this.m_appService.COMPANY_KEY + this.tbl_name).then(( /**
13110
13121
  * @param {?} dt
13111
13122
  * @return {?}