@fluxhub/fluxhub-lib 1.0.262 → 1.0.263

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.
@@ -5059,14 +5059,6 @@ class wkfapp {
5059
5059
  if (arrAutori[i].idp != null && arrAutori[i].username == null)
5060
5060
  arrAutori[i].username = arrAutori[i].idp;
5061
5061
  }
5062
- dialogRef.componentInstance.commento_hidden = false;
5063
- dialogRef.componentInstance.comm_notrequired = false;
5064
- if (this.os_r.commenti_opzionali != null)
5065
- if (this.os_r.commenti_opzionali != 0) {
5066
- dialogRef.componentInstance.commento_hidden = true;
5067
- dialogRef.componentInstance.comm_notrequired = true;
5068
- }
5069
- console.log('dialogRef.componentInstance ', dialogRef.componentInstance);
5070
5062
  dialogRef.componentInstance.arrAutori = arrAutori;
5071
5063
  dialogRef.componentInstance.title = "Riassegnazione documento: " + this.get_grid().sRow.codice + " - " + this.get_grid().sRow.oggetto;
5072
5064
  dialogRef.afterClosed().subscribe((/**
@@ -14521,7 +14513,7 @@ class dati_aggiuntivi {
14521
14513
  }
14522
14514
  else {
14523
14515
  this.app_s.getState().wkf_doc_info.title = 'Assegnazione';
14524
- if (this.clevel.commenti_opzionali == 1)
14516
+ if (this.nlevel.commenti_opzionali == 1)
14525
14517
  this.app_s.getState().wkf_doc_info.comm_notrequired = true;
14526
14518
  else
14527
14519
  this.app_s.getState().wkf_doc_info.comm_notrequired = false;
@@ -14543,6 +14535,10 @@ class dati_aggiuntivi {
14543
14535
  let dialogRef = this.m_dialog.open(win_assegna, {
14544
14536
  disableClose: true
14545
14537
  });
14538
+ if (this.nlevel.commenti_opzionali == 1)
14539
+ dialogRef.componentInstance.comm_notrequired = true;
14540
+ else
14541
+ dialogRef.componentInstance.comm_notrequired = false;
14546
14542
  dialogRef.afterClosed().subscribe((/**
14547
14543
  * @param {?} result
14548
14544
  * @return {?}