@fluxhub/fluxhub-lib 1.0.321 → 1.0.322

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.
@@ -37,7 +37,7 @@ import { DomSanitizer } from '@angular/platform-browser';
37
37
  import { NgControl, NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
38
38
  import { MatDialogRef, MatDialog, DateAdapter, MAT_DATE_FORMATS, 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';
39
39
  import { ActivatedRoute, Router } from '@angular/router';
40
- import { Injectable, Component, Directive, Pipe, Inject, PLATFORM_ID, Input, Output, EventEmitter, forwardRef, ViewChild, ViewContainerRef, ElementRef, Optional, HostListener, defineInjectable, inject, NgModule } from '@angular/core';
40
+ import { Injectable, Component, Pipe, Directive, Input, Output, EventEmitter, forwardRef, ViewChild, Inject, PLATFORM_ID, ViewContainerRef, ElementRef, Optional, HostListener, defineInjectable, inject, NgModule } from '@angular/core';
41
41
  import { Http } from '@angular/http';
42
42
  import { SlimLoadingBarService } from 'ng2-slim-loading-bar';
43
43
  import { ToastrService } from 'ngx-toastr';
@@ -5979,7 +5979,7 @@ wkfapp = /** @class */ (function () {
5979
5979
  if (data.result_msg == "OK") {
5980
5980
  _this.is_Visor = false;
5981
5981
  for (var i = 0; i < data.result_data.length; i++) {
5982
- if (_this.m_uti.hasRole(data.result_data[i], false)) {
5982
+ if (_this.m_uti.hasRole(data.result_data[i].name, false)) {
5983
5983
  _this.is_Visor = true;
5984
5984
  break;
5985
5985
  }