@fluxhub/fluxhub-lib 10.0.577 → 10.0.579

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.
@@ -24937,10 +24937,18 @@ class dati_aggiuntivi_v2 {
24937
24937
  if (this.livs[i].step == min_liv &&
24938
24938
  this.app_s.getState().wkf_doc_info.curr_user.toUpperCase() ==
24939
24939
  this.livs[i].username.toUpperCase()) {
24940
- if (this.livs[i].context != null)
24941
- sv.push(this.livs[i].context);
24942
- else
24943
- sv.push("");
24940
+ console.log(' this.livs[i].step ', this.livs[i].step, this.livs[i].username.toUpperCase(), this.livs[i].context);
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("");
24944
24952
  }
24945
24953
  if (sv.length <= 1) {
24946
24954
  this.c_canale = sv[0];