@fluxhub/fluxhub-lib 1.0.431 → 1.0.433
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 +4 -3
- 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/auth_guard.js +4 -3
- package/esm2015/lib/wkf_engine/wkfapp.js +2 -2
- package/esm5/lib/auth_guard.js +4 -3
- package/esm5/lib/wkf_engine/wkfapp.js +2 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +4 -3
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +4 -3
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/package.json +1 -1
|
@@ -6201,7 +6201,7 @@
|
|
|
6201
6201
|
setTimeout((/**
|
|
6202
6202
|
* @return {?}
|
|
6203
6203
|
*/
|
|
6204
|
-
function () { _this.do_init()
|
|
6204
|
+
function () { _this.do_init(); }), 500);
|
|
6205
6205
|
return;
|
|
6206
6206
|
}
|
|
6207
6207
|
/** @type {?} */
|
|
@@ -20091,8 +20091,9 @@
|
|
|
20091
20091
|
if (data.result_data.length > 0) {
|
|
20092
20092
|
//console.log('canActivate 6');
|
|
20093
20093
|
_this.app_s.user_roles = data.result_data[0].roles;
|
|
20094
|
-
if (_this.app_s.user_roles
|
|
20095
|
-
_this.app_s.user_roles
|
|
20094
|
+
if (_this.app_s.user_roles != null)
|
|
20095
|
+
if (_this.app_s.user_roles.length > 0)
|
|
20096
|
+
_this.app_s.user_roles = _this.app_s.user_roles.substr(1);
|
|
20096
20097
|
_this.app_s.user_isadmin = data.result_data[0].isadmin;
|
|
20097
20098
|
_this.app_s.user = data.result_data[0].username;
|
|
20098
20099
|
console.log('this.app_s.user_isadmin ', _this.app_s.user_isadmin);
|