@fluxhub/fluxhub-lib 19.0.60 → 19.0.61
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.
|
@@ -1729,9 +1729,6 @@ class FHGuard {
|
|
|
1729
1729
|
else if (data.result_msg == "OK" && data.result_data.length > 0) {
|
|
1730
1730
|
//console.log('canActivate 6');
|
|
1731
1731
|
this.app_s.user_roles = data.result_data[0].roles;
|
|
1732
|
-
if (this.app_s.user_roles != null)
|
|
1733
|
-
if (this.app_s.user_roles.length > 0)
|
|
1734
|
-
this.app_s.user_roles = this.app_s.user_roles.substr(1);
|
|
1735
1732
|
if (this.app_s.user_roles == null)
|
|
1736
1733
|
this.app_s.user_roles = "[NO_RUOLI_CONFIGURATI]";
|
|
1737
1734
|
this.app_s.user_isadmin = data.result_data[0].isadmin;
|