@fluxhub/fluxhub-lib 9.0.9 → 9.0.10

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.
@@ -386,6 +386,9 @@ let UtilityService = UtilityService_1 = class UtilityService {
386
386
  this.app_s = app_s;
387
387
  this.simpleCrypt = new SimpleCrypt();
388
388
  }
389
+ set_home_title(s) {
390
+ setTimeout(() => { this.app_s.getState().topnavTitle = s; }, 10);
391
+ }
389
392
  check_value_combo(obj_value, combo_value) {
390
393
  if (combo_value != null)
391
394
  if (combo_value != '-1')
@@ -5236,7 +5239,7 @@ class wkfapp {
5236
5239
  .getState()
5237
5240
  .wkf_obj
5238
5241
  .title;
5239
- this.app_s.getState().topnavTitle = this.att_panelcat;
5242
+ this.m_uti.set_home_title(this.att_panelcat);
5240
5243
  }
5241
5244
  init_Panel(cod_documento, id_Doc) {
5242
5245
  this.m_id_Doc = id_Doc;
@@ -5302,7 +5305,7 @@ class wkfapp {
5302
5305
  this.user_nome = this.app_s.user_name;
5303
5306
  this.user_cognome = this.app_s.user_surname;
5304
5307
  this.user_email = this.app_s.user_email;
5305
- this.app_s.getState().topnavTitle = this.att_panelcat;
5308
+ this.m_uti.set_home_title(this.att_panelcat);
5306
5309
  let p = new QParam();
5307
5310
  p.sql = "SELECT_UTENTE_WKF_ADMIN";
5308
5311
  p.types = ['string', 'string'];
@@ -13242,7 +13245,7 @@ class dati_aggiuntivi {
13242
13245
  this.btnApprova_label = 'APPROVA';
13243
13246
  this.btnAssegna_label = "Assegna";
13244
13247
  this.btnRespingi_label = 'RESPINGI';
13245
- this.app_s.getState().topnavTitle = this.app_info.descrizione_breve + ' - Nuova Richiesta';
13248
+ this.uti_s.set_home_title(this.app_info.descrizione_breve + ' - Nuova Richiesta');
13246
13249
  this.reset_form(this.app_info.descrizione_breve + ' - Nuova Richiesta');
13247
13250
  this.reset_counters_int(0, 0);
13248
13251
  /*
@@ -13327,7 +13330,7 @@ class dati_aggiuntivi {
13327
13330
  break;
13328
13331
  }
13329
13332
  this.app_s.getState().wkf_doc_info.in_carico_a = this.s_uto;
13330
- this.app_s.getState().topnavTitle = this.app_info.descrizione_breve + ' ' + this.m_obj.codice + ' - ' + this.m_obj.stat_stato; //+' ('+s_uto+')';
13333
+ this.uti_s.set_home_title(this.app_info.descrizione_breve + ' ' + this.m_obj.codice + ' - ' + this.m_obj.stat_stato);
13331
13334
  this.reset_form(this.app_info.descrizione_breve + ' ' + this.m_obj.codice + ' - ' + this.m_obj.stat_stato); //+' ('+s_uto+')');
13332
13335
  }
13333
13336
  onResize(event) {