@fluxhub/fluxhub-lib 10.0.741 → 10.0.743

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.
@@ -23253,16 +23253,19 @@
23253
23253
  }
23254
23254
  else {
23255
23255
  liv = this.m_obj.stato;
23256
+ console.log('this.m_obj.canale ', this.m_obj.canale, liv);
23256
23257
  if (this.m_obj.canale != null && this.m_obj.canale != '')
23257
23258
  for (var i = 0; i < this.livs.length; i++)
23258
- if (this.livs[i].step == liv)
23259
+ if (this.livs[i].step == liv) {
23260
+ console.log(" liv " + this.livs[i]);
23259
23261
  if (this.user_idp.toUpperCase() == this.livs[i].username.toUpperCase()) {
23260
- // console.log(this.c_canale+" "+this.livs[i].context);
23262
+ console.log(this.m_obj.canale + " " + this.livs[i].context);
23261
23263
  if (this.m_obj.canale == this.livs[i].context) {
23262
23264
  this.clevel = this.livs[i];
23263
23265
  break;
23264
23266
  }
23265
23267
  }
23268
+ }
23266
23269
  if (this.clevel == null)
23267
23270
  for (var i = 0; i < this.livs.length; i++) {
23268
23271
  if (this.livs[i].username == null)
@@ -24408,7 +24411,9 @@
24408
24411
  this.over_canale_iniz();
24409
24412
  };
24410
24413
  dati_aggiuntivi_v2.prototype.over_canale_iniz = function () {
24411
- if (this.forza_canale == "")
24414
+ if (this.forza_canale == null)
24415
+ return;
24416
+ if (this.forza_canale == '')
24412
24417
  return;
24413
24418
  var min_liv = 0;
24414
24419
  for (var i = 0; i < this.livs.length; i++)
@@ -24419,8 +24424,7 @@
24419
24424
  if (this.livs[i].step == min_liv) {
24420
24425
  this.livs[i].context = this.forza_canale;
24421
24426
  }
24422
- if (this.m_obj.stato < 20)
24423
- this.m_obj.canale = this.forza_canale;
24427
+ this.m_obj.canale = this.forza_canale;
24424
24428
  this.c_canale = this.forza_canale;
24425
24429
  };
24426
24430
  dati_aggiuntivi_v2.prototype.ck_canale_multiplo = function () {