@fluxhub/fluxhub-lib 10.0.636 → 10.0.638

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.
@@ -3455,12 +3455,20 @@ class fh_win_picklist {
3455
3455
  add_all() {
3456
3456
  for (let index = 0; index < this.value_list_sel.length; index++) {
3457
3457
  this.value_sel.push(this.value_list_sel[index]);
3458
- let indexx = this.value_list.indexOf(this.value_list_sel[index], 0);
3459
- console.log('indexx ', indexx);
3460
- if (indexx > -1) {
3461
- this.value_list.splice(index, 1);
3458
+ }
3459
+ let rest = [];
3460
+ for (let index = 0; index < this.value_list_all.length; index++) {
3461
+ let b_found = false;
3462
+ for (let index1 = 0; index1 < this.value_sel.length; index1++)
3463
+ if (this.value_sel[index1].valore == this.value_list_all[index].valore) {
3464
+ b_found = true;
3465
+ break;
3466
+ }
3467
+ if (!b_found) {
3468
+ rest.push(this.value_list_all[index]);
3462
3469
  }
3463
3470
  }
3471
+ this.value_list = JSON.parse(JSON.stringify(rest));
3464
3472
  // this.value_list=[];
3465
3473
  this.selectedAdd = null;
3466
3474
  this.filtra();
@@ -17039,6 +17047,7 @@ class dati_aggiuntivi {
17039
17047
  break;
17040
17048
  }
17041
17049
  }
17050
+ console.log('this.clevel1 ', this.clevel);
17042
17051
  if (this.clevel == null)
17043
17052
  for (let i = 0; i < this.livs.length; i++) {
17044
17053
  if (this.livs[i].livello == liv) {
@@ -17055,7 +17064,9 @@ class dati_aggiuntivi {
17055
17064
  }
17056
17065
  }
17057
17066
  }
17067
+ console.log('this.clevel2 ', this.clevel);
17058
17068
  }
17069
+ console.log('this.clevel3 ', this.clevel);
17059
17070
  this.clevel = this.check_n_levels(this.clevel);
17060
17071
  if (this.clevel == null || this.clevel == "") {
17061
17072
  this.alert("Errore di configurazione pratica contattare ufficio IT [0x002]", 1);