@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.
@@ -7873,7 +7873,6 @@
7873
7873
  var _this = this;
7874
7874
  if (!this.auto_load)
7875
7875
  return;
7876
- console.log('CKKK ', this.grid_key);
7877
7876
  if (this.columnDefs == null) {
7878
7877
  setTimeout((/**
7879
7878
  * @return {?}
@@ -8189,7 +8188,6 @@
8189
8188
  * @return {?}
8190
8189
  */
8191
8190
  function () {
8192
- console.log('qui3333');
8193
8191
  _this.ckk();
8194
8192
  }), 10);
8195
8193
  if (!this.b_iniended) {
@@ -20648,9 +20646,11 @@
20648
20646
  if (_this.app_s.user_roles != null)
20649
20647
  if (_this.app_s.user_roles.length > 0)
20650
20648
  _this.app_s.user_roles = _this.app_s.user_roles.substr(1);
20649
+ if (_this.app_s.user_roles == null)
20650
+ _this.app_s.user_roles = '[NO_RUOLI_CONFIGURATI]';
20651
20651
  _this.app_s.user_isadmin = data.result_data[0].isadmin;
20652
20652
  _this.app_s.user = data.result_data[0].username;
20653
- console.log('this.app_s.user_isadmin ', _this.app_s.user_isadmin);
20653
+ // console.log('this.app_s.user_isadmin ',this.app_s.user_isadmin);
20654
20654
  if (_this.app_s.user_isadmin != null)
20655
20655
  if (_this.app_s.user_isadmin == "1") {
20656
20656
  resolve(true);
@@ -20670,7 +20670,7 @@
20670
20670
  function (data) {
20671
20671
  _this.arr_accessi = data.result_data;
20672
20672
  for (var i = 0; i < _this.arr_accessi.length; i++) {
20673
- console.log('[' + _this.arr_accessi[i].url.split('/')[0] + ']', '-----', '[' + _this.routingDestination.split('/')[0] + ']');
20673
+ //console.log('[' + this.arr_accessi[i].url.split('/')[0] + ']', '-----', '[' + this.routingDestination.split('/')[0] + ']');
20674
20674
  if (_this.arr_accessi[i].type == 'M') {
20675
20675
  if ('[' + _this.arr_accessi[i].url.split('/')[0] + ']' == '[' + _this.routingDestination.split('/')[0] + ']') {
20676
20676
  resolve(true);