@fluxhub/fluxhub-lib 1.0.445 → 1.0.447

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.
@@ -5269,6 +5269,7 @@ class wkfapp {
5269
5269
  if (!m_service.checkCredentials()) {
5270
5270
  return;
5271
5271
  }
5272
+ this.sort_field = "case when CHARINDEX('" + this.user_idp + "',autori)>0 then 1 else 0 end desc,codice desc";
5272
5273
  }
5273
5274
  /**
5274
5275
  * @param {?} a
@@ -15016,7 +15017,6 @@ class dati_aggiuntivi {
15016
15017
  this.m_wkf = m_wkf;
15017
15018
  this.uti_s = uti_s;
15018
15019
  this.m_obj = {};
15019
- this.b_user_email = false;
15020
15020
  this.b_respingi = false;
15021
15021
  this.limite_salto_after = -1;
15022
15022
  this.respingi_enabled = false;
@@ -15091,11 +15091,7 @@ class dati_aggiuntivi {
15091
15091
  * @return {?}
15092
15092
  */
15093
15093
  init_user_i() {
15094
- console.log('init_user_i ', this.b_user_email);
15095
- if (!this.b_user_email)
15096
- this.user_idp = this.app_s.user;
15097
- else
15098
- this.user_idp = this.app_s.user_email;
15094
+ this.user_idp = this.app_s.user;
15099
15095
  this.user_nome = this.app_s.user_name;
15100
15096
  this.user_cognome = this.app_s.user_surname;
15101
15097
  this.user_email = this.app_s.user_email;
@@ -15936,7 +15932,7 @@ class dati_aggiuntivi {
15936
15932
  */
15937
15933
  open_upload(sovra_path = '') {
15938
15934
  /** @type {?} */
15939
- let dialogRef = this.m_dialog.open(win_uploads, { 'disableClose': true, width: "90%", height: (this.app_s.getState().body_h - 300) + 'px' });
15935
+ let dialogRef = this.m_dialog.open(win_uploads, { 'disableClose': true, width: "90%" });
15940
15936
  dialogRef.componentInstance.sovrascrivi_path = sovra_path;
15941
15937
  dialogRef.afterClosed().subscribe((/**
15942
15938
  * @param {?} result
@@ -16538,8 +16534,11 @@ class dati_aggiuntivi {
16538
16534
  if (this.livs[i].livello < min_liv || min_liv == 0) {
16539
16535
  min_liv = this.livs[i].livello;
16540
16536
  }
16537
+ console.log('min_liv ', min_liv);
16541
16538
  for (let i = 0; i < this.livs.length; i++)
16542
16539
  if (min_liv == this.livs[i].livello) {
16540
+ console.log('this.user_idp.toUpperCase() ', this.user_idp.toUpperCase());
16541
+ console.log('this.livs[i].idp.toUpperCase() ', this.livs[i].idp.toUpperCase());
16543
16542
  if (this.user_idp.toUpperCase() == this.livs[i].idp.toUpperCase() || this.livs[i].gruppo_parallelo == '*ALLUSERS') {
16544
16543
  if (this.livs[i].abilita_indietro == 1)
16545
16544
  this.respingi_enabled = true;