@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.
@@ -24491,15 +24491,17 @@ class dati_aggiuntivi_v2 {
24491
24491
  if (this.m_obj.canale != null && this.m_obj.canale != '')
24492
24492
  for (let i = 0; i < this.livs.length; i++)
24493
24493
  if (this.livs[i].step == liv) {
24494
- console.log(" liv " + this.livs[i]);
24494
+ console.log(" liv ", this.livs[i]);
24495
24495
  if (this.user_idp.toUpperCase() == this.livs[i].username.toUpperCase()) {
24496
24496
  console.log(this.m_obj.canale + " " + this.livs[i].context);
24497
24497
  if (this.m_obj.canale == this.livs[i].context) {
24498
+ console.log('clevel 1 ', this.livs[i]);
24498
24499
  this.clevel = this.livs[i];
24499
24500
  break;
24500
24501
  }
24501
24502
  }
24502
24503
  }
24504
+ console.log('clevel 2 ', this.clevel);
24503
24505
  if (this.clevel == null)
24504
24506
  for (let i = 0; i < this.livs.length; i++) {
24505
24507
  if (this.livs[i].username == null)
@@ -24518,8 +24520,9 @@ class dati_aggiuntivi_v2 {
24518
24520
  }
24519
24521
  }
24520
24522
  }
24523
+ console.log('clevel 2 ', this.clevel);
24521
24524
  this.clevel = this.check_n_levels(this.clevel);
24522
- if (this.clevel == null || this.clevel == "") {
24525
+ if (this.clevel == null || this.clevel == '') {
24523
24526
  this.alert("Errore di configurazione pratica contattare ufficio IT [0x002]", 1);
24524
24527
  return;
24525
24528
  }
@@ -25617,7 +25620,9 @@ class dati_aggiuntivi_v2 {
25617
25620
  this.over_canale_iniz();
25618
25621
  }
25619
25622
  over_canale_iniz() {
25620
- if (this.forza_canale == "")
25623
+ if (this.forza_canale == null)
25624
+ return;
25625
+ if (this.forza_canale == '')
25621
25626
  return;
25622
25627
  let min_liv = 0;
25623
25628
  for (let i = 0; i < this.livs.length; i++)
@@ -25628,8 +25633,7 @@ class dati_aggiuntivi_v2 {
25628
25633
  if (this.livs[i].step == min_liv) {
25629
25634
  this.livs[i].context = this.forza_canale;
25630
25635
  }
25631
- if (this.m_obj.stato < 20)
25632
- this.m_obj.canale = this.forza_canale;
25636
+ this.m_obj.canale = this.forza_canale;
25633
25637
  this.c_canale = this.forza_canale;
25634
25638
  }
25635
25639
  ck_canale_multiplo() {