@fluxhub/fluxhub-lib 21.0.16 → 21.0.18
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.
|
@@ -4704,7 +4704,9 @@ class FHUploadComponent {
|
|
|
4704
4704
|
if (event.type === HttpEventType.UploadProgress && event.total) {
|
|
4705
4705
|
const progress = Math.round(100 * event.loaded / event.total);
|
|
4706
4706
|
if (this.dialogRef?.componentInstance) {
|
|
4707
|
-
|
|
4707
|
+
// 100 chiude l'attesa: si arriva a 100 solo con la risposta del server (il programma
|
|
4708
|
+
// post-upload, es. rename_attachment, puo' ancora rinominare o spostare il file)
|
|
4709
|
+
this.dialogRef?.componentInstance?.update_progess(Math.min(progress, 99));
|
|
4708
4710
|
}
|
|
4709
4711
|
}
|
|
4710
4712
|
else if (event.type === HttpEventType.Response) {
|
|
@@ -30499,7 +30501,12 @@ class FHWorkflowView {
|
|
|
30499
30501
|
p = new QParam();
|
|
30500
30502
|
p.sql = 'UPDATE_RIASSEGNA_TODO';
|
|
30501
30503
|
p.types = ['string', 'string'];
|
|
30502
|
-
|
|
30504
|
+
// Gli attori del picker portano sempre username (idp solo se vengono dai livelli):
|
|
30505
|
+
// con idp null la sottoquery dava username null sul todo (WBA-10).
|
|
30506
|
+
p.values = [
|
|
30507
|
+
this.wax[0].username || this.wax[0].idp,
|
|
30508
|
+
this.get_grid().sRow.uiid,
|
|
30509
|
+
];
|
|
30503
30510
|
ok_op = false;
|
|
30504
30511
|
this.m_dataService.doQuery(p).subscribe((data) => {
|
|
30505
30512
|
if (data != null)
|