@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.
@@ -24487,16 +24487,19 @@ class dati_aggiuntivi_v2 {
24487
24487
  }
24488
24488
  else {
24489
24489
  liv = this.m_obj.stato;
24490
+ console.log('this.m_obj.canale ', this.m_obj.canale, liv);
24490
24491
  if (this.m_obj.canale != null && this.m_obj.canale != '')
24491
24492
  for (let i = 0; i < this.livs.length; i++)
24492
- if (this.livs[i].step == liv)
24493
+ if (this.livs[i].step == liv) {
24494
+ console.log(" liv " + this.livs[i]);
24493
24495
  if (this.user_idp.toUpperCase() == this.livs[i].username.toUpperCase()) {
24494
- // console.log(this.c_canale+" "+this.livs[i].context);
24496
+ console.log(this.m_obj.canale + " " + this.livs[i].context);
24495
24497
  if (this.m_obj.canale == this.livs[i].context) {
24496
24498
  this.clevel = this.livs[i];
24497
24499
  break;
24498
24500
  }
24499
24501
  }
24502
+ }
24500
24503
  if (this.clevel == null)
24501
24504
  for (let i = 0; i < this.livs.length; i++) {
24502
24505
  if (this.livs[i].username == null)
@@ -25614,7 +25617,9 @@ class dati_aggiuntivi_v2 {
25614
25617
  this.over_canale_iniz();
25615
25618
  }
25616
25619
  over_canale_iniz() {
25617
- if (this.forza_canale == "")
25620
+ if (this.forza_canale == null)
25621
+ return;
25622
+ if (this.forza_canale == '')
25618
25623
  return;
25619
25624
  let min_liv = 0;
25620
25625
  for (let i = 0; i < this.livs.length; i++)
@@ -25625,8 +25630,7 @@ class dati_aggiuntivi_v2 {
25625
25630
  if (this.livs[i].step == min_liv) {
25626
25631
  this.livs[i].context = this.forza_canale;
25627
25632
  }
25628
- if (this.m_obj.stato < 20)
25629
- this.m_obj.canale = this.forza_canale;
25633
+ this.m_obj.canale = this.forza_canale;
25630
25634
  this.c_canale = this.forza_canale;
25631
25635
  }
25632
25636
  ck_canale_multiplo() {