@fluxhub/fluxhub-lib 19.0.262 → 19.0.264

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.
@@ -4856,7 +4856,9 @@ class FHUploadComponent {
4856
4856
  if (event.type === HttpEventType.UploadProgress && event.total) {
4857
4857
  const progress = Math.round(100 * event.loaded / event.total);
4858
4858
  if (this.dialogRef?.componentInstance) {
4859
- this.dialogRef?.componentInstance?.update_progess(progress);
4859
+ // 100 chiude l'attesa: si arriva a 100 solo con la risposta del server (il programma
4860
+ // post-upload, es. rename_attachment, puo' ancora rinominare o spostare il file)
4861
+ this.dialogRef?.componentInstance?.update_progess(Math.min(progress, 99));
4860
4862
  }
4861
4863
  }
4862
4864
  else if (event.type === HttpEventType.Response) {
@@ -35112,7 +35114,7 @@ class FHWorkflowForm {
35112
35114
  }
35113
35115
  open_info() {
35114
35116
  this.s_uto = '';
35115
- let aut = this.m_obj.autori.split(',');
35117
+ let aut = (this.m_obj.autori ?? '').split(',');
35116
35118
  for (let i = 0; i < aut.length; i++)
35117
35119
  for (let y = 0; y < this.livs.length; y++)
35118
35120
  if (this.livs[y].idp == aut[i]) {