@fluxhub/fluxhub-lib 1.0.504 → 1.0.506

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.
@@ -6153,6 +6153,27 @@ wkfapp = /** @class */ (function () {
6153
6153
  */
6154
6154
  function () { _this.run_grid(); }), 500);
6155
6155
  };
6156
+ /**
6157
+ * @private
6158
+ * @return {?}
6159
+ */
6160
+ wkfapp.prototype.self_ok = /**
6161
+ * @private
6162
+ * @return {?}
6163
+ */
6164
+ function () {
6165
+ var _this = this;
6166
+ if (this.get_grid() != null) {
6167
+ this.get_grid().refresh_access(this);
6168
+ return;
6169
+ }
6170
+ setTimeout((/**
6171
+ * @return {?}
6172
+ */
6173
+ function () {
6174
+ _this.self_ok();
6175
+ }), 500);
6176
+ };
6156
6177
  /**
6157
6178
  * @private
6158
6179
  * @return {?}
@@ -6168,7 +6189,7 @@ wkfapp = /** @class */ (function () {
6168
6189
  if (this.app_s.getState().wkf_obj != null)
6169
6190
  if (this.app_s.getState().wkf_obj.codice_app == this.m_cod_documento) {
6170
6191
  this.restore_state_wkf();
6171
- this.get_grid().refresh_access(this);
6192
+ this.self_ok();
6172
6193
  this.run_grid();
6173
6194
  return;
6174
6195
  }
@@ -6283,7 +6304,7 @@ wkfapp = /** @class */ (function () {
6283
6304
  }
6284
6305
  }
6285
6306
  console.log('REFRESH ACCESS!');
6286
- _this.get_grid().refresh_access(_this);
6307
+ _this.self_ok();
6287
6308
  }
6288
6309
  }));
6289
6310
  }