@fluxhub/fluxhub-lib 1.0.297 → 1.0.298

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.
@@ -34,7 +34,7 @@ import { DomSanitizer } from '@angular/platform-browser';
34
34
  import { NgControl, NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
35
35
  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';
36
36
  import { ActivatedRoute, Router } from '@angular/router';
37
- import { Injectable, Component, Directive, Pipe, Inject, PLATFORM_ID, Input, forwardRef, ViewChild, Output, EventEmitter, ViewContainerRef, ElementRef, Optional, HostListener, defineInjectable, inject, NgModule } from '@angular/core';
37
+ import { Injectable, Component, Directive, Pipe, Inject, PLATFORM_ID, Input, forwardRef, Output, EventEmitter, ViewChild, ViewContainerRef, ElementRef, Optional, HostListener, defineInjectable, inject, NgModule } from '@angular/core';
38
38
  import { Http } from '@angular/http';
39
39
  import { SlimLoadingBarService } from 'ng2-slim-loading-bar';
40
40
  import { ToastrService } from 'ngx-toastr';
@@ -15082,11 +15082,13 @@ var dati_aggiuntivi = /** @class */ (function () {
15082
15082
  this.app_s.getState().wkf_doc_info.title = 'Avanzamento';
15083
15083
  /** @type {?} */
15084
15084
  var sp = "";
15085
- for (var i_2 = 0; i_2 < arrAutori.length; i_2++) {
15086
- if (sp != '')
15087
- sp = sp + ';';
15088
- sp = sp + arrAutori[i_2].nc;
15089
- }
15085
+ for (var i_2 = 0; i_2 < arrAutori.length; i_2++)
15086
+ if (arrAutori[i_2].nc != null)
15087
+ if (sp.indexOf(arrAutori[i_2].nc) == -1) {
15088
+ if (sp != '')
15089
+ sp = sp + ';';
15090
+ sp = sp + arrAutori[i_2].nc;
15091
+ }
15090
15092
  this.app_s.getState().wkf_doc_info.utenti = "";
15091
15093
  if (this.nlevel.livello < 900)
15092
15094
  this.app_s.getState().wkf_doc_info.lbl = "Il documento verrà inviato a " + this.nlevel.descri_livello;