@fluxhub/fluxhub-lib 10.0.742 → 10.0.744

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.
@@ -23257,15 +23257,17 @@
23257
23257
  if (this.m_obj.canale != null && this.m_obj.canale != '')
23258
23258
  for (var i = 0; i < this.livs.length; i++)
23259
23259
  if (this.livs[i].step == liv) {
23260
- console.log(" liv " + this.livs[i]);
23260
+ console.log(" liv ", this.livs[i]);
23261
23261
  if (this.user_idp.toUpperCase() == this.livs[i].username.toUpperCase()) {
23262
23262
  console.log(this.m_obj.canale + " " + this.livs[i].context);
23263
23263
  if (this.m_obj.canale == this.livs[i].context) {
23264
+ console.log('clevel 1 ', this.livs[i]);
23264
23265
  this.clevel = this.livs[i];
23265
23266
  break;
23266
23267
  }
23267
23268
  }
23268
23269
  }
23270
+ console.log('clevel 2 ', this.clevel);
23269
23271
  if (this.clevel == null)
23270
23272
  for (var i = 0; i < this.livs.length; i++) {
23271
23273
  if (this.livs[i].username == null)
@@ -23284,8 +23286,9 @@
23284
23286
  }
23285
23287
  }
23286
23288
  }
23289
+ console.log('clevel 2 ', this.clevel);
23287
23290
  this.clevel = this.check_n_levels(this.clevel);
23288
- if (this.clevel == null || this.clevel == "") {
23291
+ if (this.clevel == null || this.clevel == '') {
23289
23292
  this.alert("Errore di configurazione pratica contattare ufficio IT [0x002]", 1);
23290
23293
  return;
23291
23294
  }
@@ -24411,7 +24414,9 @@
24411
24414
  this.over_canale_iniz();
24412
24415
  };
24413
24416
  dati_aggiuntivi_v2.prototype.over_canale_iniz = function () {
24414
- if (this.forza_canale == "")
24417
+ if (this.forza_canale == null)
24418
+ return;
24419
+ if (this.forza_canale == '')
24415
24420
  return;
24416
24421
  var min_liv = 0;
24417
24422
  for (var i = 0; i < this.livs.length; i++)
@@ -24422,8 +24427,7 @@
24422
24427
  if (this.livs[i].step == min_liv) {
24423
24428
  this.livs[i].context = this.forza_canale;
24424
24429
  }
24425
- if (this.m_obj.stato < 20)
24426
- this.m_obj.canale = this.forza_canale;
24430
+ this.m_obj.canale = this.forza_canale;
24427
24431
  this.c_canale = this.forza_canale;
24428
24432
  };
24429
24433
  dati_aggiuntivi_v2.prototype.ck_canale_multiplo = function () {