@fluxhub/fluxhub-lib 1.0.563 → 1.0.564
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 -4
- 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 +5 -3
- package/esm2015/lib/controls/fhgrid.js +1 -3
- package/esm5/lib/auth_guard.js +5 -3
- package/esm5/lib/controls/fhgrid.js +1 -3
- package/fesm2015/fluxhub-fluxhub-lib.js +4 -4
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +4 -4
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/package.json +1 -1
|
@@ -7483,7 +7483,6 @@ class FHGridComponent {
|
|
|
7483
7483
|
ckk() {
|
|
7484
7484
|
if (!this.auto_load)
|
|
7485
7485
|
return;
|
|
7486
|
-
console.log('CKKK ', this.grid_key);
|
|
7487
7486
|
if (this.columnDefs == null) {
|
|
7488
7487
|
setTimeout((/**
|
|
7489
7488
|
* @return {?}
|
|
@@ -7755,7 +7754,6 @@ class FHGridComponent {
|
|
|
7755
7754
|
* @return {?}
|
|
7756
7755
|
*/
|
|
7757
7756
|
() => {
|
|
7758
|
-
console.log('qui3333');
|
|
7759
7757
|
this.ckk();
|
|
7760
7758
|
}), 10);
|
|
7761
7759
|
if (!this.b_iniended) {
|
|
@@ -19968,9 +19966,11 @@ class FHGuard {
|
|
|
19968
19966
|
if (this.app_s.user_roles != null)
|
|
19969
19967
|
if (this.app_s.user_roles.length > 0)
|
|
19970
19968
|
this.app_s.user_roles = this.app_s.user_roles.substr(1);
|
|
19969
|
+
if (this.app_s.user_roles == null)
|
|
19970
|
+
this.app_s.user_roles = '[NO_RUOLI_CONFIGURATI]';
|
|
19971
19971
|
this.app_s.user_isadmin = data.result_data[0].isadmin;
|
|
19972
19972
|
this.app_s.user = data.result_data[0].username;
|
|
19973
|
-
console.log('this.app_s.user_isadmin ',
|
|
19973
|
+
// console.log('this.app_s.user_isadmin ',this.app_s.user_isadmin);
|
|
19974
19974
|
if (this.app_s.user_isadmin != null)
|
|
19975
19975
|
if (this.app_s.user_isadmin == "1") {
|
|
19976
19976
|
resolve(true);
|
|
@@ -19990,7 +19990,7 @@ class FHGuard {
|
|
|
19990
19990
|
data => {
|
|
19991
19991
|
this.arr_accessi = data.result_data;
|
|
19992
19992
|
for (let i = 0; i < this.arr_accessi.length; i++) {
|
|
19993
|
-
console.log('[' + this.arr_accessi[i].url.split('/')[0] + ']', '-----', '[' + this.routingDestination.split('/')[0] + ']');
|
|
19993
|
+
//console.log('[' + this.arr_accessi[i].url.split('/')[0] + ']', '-----', '[' + this.routingDestination.split('/')[0] + ']');
|
|
19994
19994
|
if (this.arr_accessi[i].type == 'M') {
|
|
19995
19995
|
if ('[' + this.arr_accessi[i].url.split('/')[0] + ']' == '[' + this.routingDestination.split('/')[0] + ']') {
|
|
19996
19996
|
resolve(true);
|