@fluxhub/fluxhub-lib 19.0.103 → 19.0.104

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.
@@ -33514,11 +33514,10 @@ class FHWorkflowForm {
33514
33514
  ' non presenta utenti partecipanti validi', 1);
33515
33515
  return;
33516
33516
  }
33517
- console.log("🚀 ~ FHWorkflowForm ~ calcola_destinari ~ arrAutori:", this.nlevel, this.m_obj.creatore, arrAutori);
33518
- if (this.nlevel <= 10 && this.m_obj.creatore != null) {
33519
- arrAutori = arrAutori.filter((item) => item.username == this.m_obj.creatore);
33517
+ if (this.nlevel.step <= 10 && this.m_obj.creatore != null) {
33518
+ if (arrAutori.filter((item) => item.username == this.m_obj.creatore).length > 0)
33519
+ arrAutori = arrAutori.filter((item) => item.username == this.m_obj.creatore);
33520
33520
  }
33521
- console.log("🚀 ~ FHWorkflowForm ~ calcola_destinari ~ arrAutori:", this.nlevel, this.m_obj.creatore, arrAutori);
33522
33521
  if (o.pre_assegna_req == null)
33523
33522
  o.pre_assegna_req = 0;
33524
33523
  if (o.pre_assegna_man == null)