@fluxhub/fluxhub-lib 1.0.193 → 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.
@@ -1359,6 +1359,7 @@
1359
1359
  if (b_check_admin === void 0) {
1360
1360
  b_check_admin = true;
1361
1361
  }
1362
+ console.log('check role ', this.app_s);
1362
1363
  if (this.app_s.user_roles === null)
1363
1364
  return false;
1364
1365
  if (b_check_admin)
@@ -13646,7 +13647,7 @@
13646
13647
  p.sql = "SELECT_APPS_USER_ALL";
13647
13648
  _this.appService.getState().app_enabled = new Array();
13648
13649
  p.types = ['string'];
13649
- p.values = [localStorage.getItem(_this.app_s.COMPANY_KEY + "user")];
13650
+ p.values = [_this.appService.user];
13650
13651
  _this.querys.doQuery(p).subscribe(function (data) {
13651
13652
  _this.arr_accessi = data.result_data;
13652
13653
  for (var i = 0; i < _this.arr_accessi.length; i++) {