@fluxhub/fluxhub-lib 10.0.578 → 10.0.580

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.
@@ -23933,7 +23933,7 @@ class dati_aggiuntivi_v2 {
23933
23933
  }
23934
23934
  prendi_in_carico() {
23935
23935
  this.in_carico = false;
23936
- this.update_status(null, null, this.in_carico);
23936
+ this.update_status(true, null, this.in_carico);
23937
23937
  let p = new QParam();
23938
23938
  p.sql = "UPDATE_WKF_PRENDI_IN_CARICO";
23939
23939
  p.types = ['string', 'string', 'string'];
@@ -24938,10 +24938,17 @@ class dati_aggiuntivi_v2 {
24938
24938
  this.app_s.getState().wkf_doc_info.curr_user.toUpperCase() ==
24939
24939
  this.livs[i].username.toUpperCase()) {
24940
24940
  console.log(' this.livs[i].step ', this.livs[i].step, this.livs[i].username.toUpperCase(), this.livs[i].context);
24941
- if (this.livs[i].context != null)
24942
- sv.push(this.livs[i].context);
24943
- else
24944
- sv.push("");
24941
+ let b_found = false;
24942
+ for (let y = 0; y < this.livs.length; y++)
24943
+ if (this.livs[y].context == this.livs[i].context) {
24944
+ b_found = true;
24945
+ break;
24946
+ }
24947
+ if (!b_found)
24948
+ if (this.livs[i].context != null)
24949
+ sv.push(this.livs[i].context);
24950
+ else
24951
+ sv.push("");
24945
24952
  }
24946
24953
  if (sv.length <= 1) {
24947
24954
  this.c_canale = sv[0];