@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.
@@ -33,7 +33,7 @@ import { DragulaService, DragulaModule } from 'ng2-dragula';
33
33
  import { MatDialogRef, MatDialog, DateAdapter, MAT_DATE_LOCALE, MatAutocompleteModule, MatButtonModule, MatButtonToggleModule, MatPaginatorModule, MatCardModule, MatCheckboxModule, MatChipsModule, MatDatepickerModule, MatGridListModule, MatIconModule, MatInputModule, MatListModule, MatMenuModule, MatProgressBarModule, MatProgressSpinnerModule, MatRadioModule, MatSelectModule, MatSidenavModule, MatSliderModule, MatSortModule, MatSlideToggleModule, MatSnackBarModule, MatTableModule, MatTabsModule, MatToolbarModule, MatTooltipModule, MatFormFieldModule, MatExpansionModule, MatStepperModule, MatDialogModule, MatNativeDateModule } from '@angular/material';
34
34
  import { DomSanitizer } from '@angular/platform-browser';
35
35
  import { ActivatedRoute, Router } from '@angular/router';
36
- import { Injectable, Component, Directive, Pipe, Inject, PLATFORM_ID, Input, Output, EventEmitter, ViewChild, forwardRef, ElementRef, Optional, HostListener, ViewContainerRef, defineInjectable, inject, NgModule } from '@angular/core';
36
+ import { Injectable, Component, Pipe, Directive, Inject, PLATFORM_ID, Input, Output, EventEmitter, ViewChild, forwardRef, ElementRef, Optional, HostListener, ViewContainerRef, defineInjectable, inject, NgModule } from '@angular/core';
37
37
  import { Http } from '@angular/http';
38
38
  import { SlimLoadingBarService } from 'ng2-slim-loading-bar';
39
39
  import { ToastrService } from 'ngx-toastr';
@@ -5059,13 +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
5062
  dialogRef.componentInstance.arrAutori = arrAutori;
5070
5063
  dialogRef.componentInstance.title = "Riassegnazione documento: " + this.get_grid().sRow.codice + " - " + this.get_grid().sRow.oggetto;
5071
5064
  dialogRef.afterClosed().subscribe((/**
@@ -14520,7 +14513,7 @@ class dati_aggiuntivi {
14520
14513
  }
14521
14514
  else {
14522
14515
  this.app_s.getState().wkf_doc_info.title = 'Assegnazione';
14523
- if (this.clevel.commenti_opzionali == 1)
14516
+ if (this.nlevel.commenti_opzionali == 1)
14524
14517
  this.app_s.getState().wkf_doc_info.comm_notrequired = true;
14525
14518
  else
14526
14519
  this.app_s.getState().wkf_doc_info.comm_notrequired = false;
@@ -14542,6 +14535,10 @@ class dati_aggiuntivi {
14542
14535
  let dialogRef = this.m_dialog.open(win_assegna, {
14543
14536
  disableClose: true
14544
14537
  });
14538
+ if (this.nlevel.commenti_opzionali == 1)
14539
+ dialogRef.componentInstance.comm_notrequired = true;
14540
+ else
14541
+ dialogRef.componentInstance.comm_notrequired = false;
14545
14542
  dialogRef.afterClosed().subscribe((/**
14546
14543
  * @param {?} result
14547
14544
  * @return {?}