@fluxhub/fluxhub-lib 10.0.749 → 10.0.750

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.
@@ -25633,17 +25633,18 @@ class dati_aggiuntivi_v2 {
25633
25633
  v: this.app_s.user,
25634
25634
  nc: this.app_s.user_surname + " " + this.app_s.user_name,
25635
25635
  });
25636
- else
25637
- datav.result_data.map((v1) => {
25638
- console.log("v1 ", v1);
25639
- if ("REQUESTER" == v1.k.split("CREATOR").join("REQUESTER"))
25636
+ else {
25637
+ for (let ix = 0; ix < datav.result_data.length; ix++) {
25638
+ if (datav.result_data[ix].k.split("CREATOR").join("REQUESTER") == 'REQUESTER') {
25640
25639
  datav.result_data.push({
25641
25640
  k: "*ALLUSERS",
25642
- v: v1.v,
25643
- nc: v1.nc,
25641
+ v: datav.result_data[ix].v,
25642
+ nc: datav.result_data[ix].nc,
25644
25643
  });
25645
- return true;
25646
- });
25644
+ break;
25645
+ }
25646
+ }
25647
+ }
25647
25648
  console.log("SELECT_WKF_VARIABILES_V2 dopo add ", datav.result_data);
25648
25649
  data.result_data.map((v) => {
25649
25650
  if (v.value.indexOf("*") == 0) {
@@ -25653,12 +25654,7 @@ class dati_aggiuntivi_v2 {
25653
25654
  datav.result_data.map((v1) => {
25654
25655
  if (v.value.split("CREATOR").join("REQUESTER") ==
25655
25656
  v1.k.split("CREATOR").join("REQUESTER")) {
25656
- if (this.m_obj.stato != null || this.m_obj.stato > 10)
25657
- datav.result_data.push({
25658
- k: "*ALLUSERS",
25659
- v: v1.v,
25660
- nc: v1.nc,
25661
- });
25657
+ console.log("sostituisco k: ", v1.k, v1.v);
25662
25658
  v.username = v1.v;
25663
25659
  v.nc = v1.nc;
25664
25660
  v.ncx = v1.nc;
@@ -25674,6 +25670,7 @@ class dati_aggiuntivi_v2 {
25674
25670
  });
25675
25671
  }
25676
25672
  ok_livelli_doc(r) {
25673
+ console.log();
25677
25674
  this.livs = r;
25678
25675
  this.over_canale_iniz();
25679
25676
  if (this.m_obj.stato <= 10)