@fluxhub/fluxhub-lib 10.0.222 → 10.0.223

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.
@@ -15947,6 +15947,7 @@
15947
15947
  if (this.override_livs == null)
15948
15948
  this.override_livs = [];
15949
15949
  this.override_livs.push(lvlcfg);
15950
+ this.apply_over_load();
15950
15951
  };
15951
15952
  dati_aggiuntivi.prototype.getLvlInfo = function (lvl) {
15952
15953
  for (var i = 0; i < this.livs.length; i++)
@@ -16233,21 +16234,22 @@
16233
16234
  this.m_dataService.doQuery(p).subscribe(function (data) {
16234
16235
  if (data != null)
16235
16236
  if (data.result_msg == "OK") {
16236
- if (_this.override_livs != null)
16237
- if (data.result_data != null)
16238
- for (var y = 0; y < _this.override_livs.length; y++)
16239
- for (var i = 0; i < data.result_data.length; i++)
16240
- if (data.result_data[i].id_Applicativo != null)
16241
- if (data.result_data[i].id_Applicativo == _this.override_livs[y].id_Applicativo) {
16242
- data.result_data[i].idp = _this.override_livs[y].idp;
16243
- data.result_data[i].gruppo_parallelo = _this.override_livs[y].gruppo_parallelo;
16244
- data.result_data[i].nc = _this.override_livs[y].nc;
16245
- }
16246
- console.log('ok_load_document ', data.result_data);
16247
16237
  _this.ok_livelli_doc(data.result_data);
16248
16238
  }
16249
16239
  });
16250
16240
  };
16241
+ dati_aggiuntivi.prototype.apply_over_load = function () {
16242
+ if (this.override_livs != null)
16243
+ if (this.livs != null)
16244
+ for (var y = 0; y < this.override_livs.length; y++)
16245
+ for (var i = 0; i < this.livs.length; i++)
16246
+ if (this.livs[i].id_Applicativo != null)
16247
+ if (this.livs[i].id_Applicativo == this.override_livs[y].id_Applicativo) {
16248
+ this.livs[i].idp = this.override_livs[y].idp;
16249
+ this.livs[i].gruppo_parallelo = this.override_livs[y].gruppo_parallelo;
16250
+ this.livs[i].nc = this.override_livs[y].nc;
16251
+ }
16252
+ };
16251
16253
  dati_aggiuntivi.prototype.ok_livelli_doc = function (r) {
16252
16254
  this.livs = r;
16253
16255
  this.over_canale_iniz();