@fluxhub/fluxhub-lib 1.0.261 → 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.
@@ -5304,13 +5304,6 @@ wkfapp = /** @class */ (function () {
5304
5304
  if (arrAutori[i].idp != null && arrAutori[i].username == null)
5305
5305
  arrAutori[i].username = arrAutori[i].idp;
5306
5306
  }
5307
- dialogRef.componentInstance.commento_hidden = false;
5308
- dialogRef.componentInstance.comm_notrequired = false;
5309
- if (this.os_r.commenti_opzionali != null)
5310
- if (this.os_r.commenti_opzionali != 0) {
5311
- dialogRef.componentInstance.commento_hidden = true;
5312
- dialogRef.componentInstance.comm_notrequired = true;
5313
- }
5314
5307
  dialogRef.componentInstance.arrAutori = arrAutori;
5315
5308
  dialogRef.componentInstance.title = "Riassegnazione documento: " + this.get_grid().sRow.codice + " - " + this.get_grid().sRow.oggetto;
5316
5309
  dialogRef.afterClosed().subscribe((/**
@@ -15092,7 +15085,7 @@ var dati_aggiuntivi = /** @class */ (function () {
15092
15085
  }
15093
15086
  else {
15094
15087
  this.app_s.getState().wkf_doc_info.title = 'Assegnazione';
15095
- if (this.clevel.commenti_opzionali == 1)
15088
+ if (this.nlevel.commenti_opzionali == 1)
15096
15089
  this.app_s.getState().wkf_doc_info.comm_notrequired = true;
15097
15090
  else
15098
15091
  this.app_s.getState().wkf_doc_info.comm_notrequired = false;
@@ -15114,6 +15107,10 @@ var dati_aggiuntivi = /** @class */ (function () {
15114
15107
  var dialogRef = this.m_dialog.open(win_assegna, {
15115
15108
  disableClose: true
15116
15109
  });
15110
+ if (this.nlevel.commenti_opzionali == 1)
15111
+ dialogRef.componentInstance.comm_notrequired = true;
15112
+ else
15113
+ dialogRef.componentInstance.comm_notrequired = false;
15117
15114
  dialogRef.afterClosed().subscribe((/**
15118
15115
  * @param {?} result
15119
15116
  * @return {?}