@fluxhub/fluxhub-lib 18.0.48 → 18.0.50

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.
@@ -4739,7 +4739,9 @@ class FHUploadComponent {
4739
4739
  this.loading = true;
4740
4740
  if (this.dialogRef != null)
4741
4741
  if (this.dialogRef.componentInstance != null)
4742
- this.dialogRef?.componentInstance?.update_progess(progress);
4742
+ // 100 chiude l'attesa: si arriva a 100 solo con la risposta del server (il programma
4743
+ // post-upload, es. rename_attachment, puo' ancora rinominare o spostare il file)
4744
+ this.dialogRef?.componentInstance?.update_progess(Math.min(progress, 99));
4743
4745
  };
4744
4746
  if (this.uploader)
4745
4747
  this.uploader.onWhenAddingFileFailed = (item, filter, options) => {
@@ -42627,7 +42629,12 @@ class wkfapp_v2 {
42627
42629
  p = new QParam();
42628
42630
  p.sql = 'UPDATE_RIASSEGNA_TODO';
42629
42631
  p.types = ['string', 'string'];
42630
- p.values = [this.wax[0].idp, this.get_grid().sRow.uiid];
42632
+ // Gli attori del picker portano sempre username (idp solo se vengono dai livelli):
42633
+ // con idp null la sottoquery dava username null sul todo (WBA-10).
42634
+ p.values = [
42635
+ this.wax[0].username || this.wax[0].idp,
42636
+ this.get_grid().sRow.uiid,
42637
+ ];
42631
42638
  ok_op = false;
42632
42639
  this.m_dataService.doQuery(p).subscribe((data) => {
42633
42640
  if (data != null)