@fluxhub/fluxhub-lib 1.0.194 → 1.0.195
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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +1 -0
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/services/utility.service.js +2 -1
- package/esm5/lib/services/utility.service.js +2 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +2 -1
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +2 -1
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/package.json +1 -1
|
@@ -32,7 +32,7 @@ import { TranslateModule } from '@ngx-translate/core';
|
|
|
32
32
|
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 { ActivatedRoute, Router } from '@angular/router';
|
|
35
|
-
import { Injectable, Component, Input, Output, EventEmitter,
|
|
35
|
+
import { Injectable, Component, Input, ViewChild, Output, EventEmitter, Directive, forwardRef, Inject, PLATFORM_ID, ElementRef, Pipe, ViewContainerRef, NgModule, defineInjectable, inject, HostListener } from '@angular/core';
|
|
36
36
|
import { Http } from '@angular/http';
|
|
37
37
|
import { SlimLoadingBarService } from 'ng2-slim-loading-bar';
|
|
38
38
|
import { ToastrService } from 'ngx-toastr';
|
|
@@ -1314,6 +1314,7 @@ var UtilityService = /** @class */ (function () {
|
|
|
1314
1314
|
*/
|
|
1315
1315
|
function (s, b_check_admin) {
|
|
1316
1316
|
if (b_check_admin === void 0) { b_check_admin = true; }
|
|
1317
|
+
console.log('check role ', this.app_s);
|
|
1317
1318
|
if (this.app_s.user_roles === null)
|
|
1318
1319
|
return false;
|
|
1319
1320
|
if (b_check_admin)
|