@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.
@@ -402,6 +402,10 @@ var UtilityService = /** @class */ (function () {
402
402
  this.simpleCrypt = new SimpleCrypt();
403
403
  }
404
404
  UtilityService_1 = UtilityService;
405
+ UtilityService.prototype.set_home_title = function (s) {
406
+ var _this = this;
407
+ setTimeout(function () { _this.app_s.getState().topnavTitle = s; }, 10);
408
+ };
405
409
  UtilityService.prototype.check_value_combo = function (obj_value, combo_value) {
406
410
  if (combo_value != null)
407
411
  if (combo_value != '-1')
@@ -4671,7 +4675,7 @@ var wkfapp = /** @class */ (function () {
4671
4675
  .getState()
4672
4676
  .wkf_obj
4673
4677
  .title;
4674
- this.app_s.getState().topnavTitle = this.att_panelcat;
4678
+ this.m_uti.set_home_title(this.att_panelcat);
4675
4679
  };
4676
4680
  wkfapp.prototype.init_Panel = function (cod_documento, id_Doc) {
4677
4681
  this.m_id_Doc = id_Doc;
@@ -4740,7 +4744,7 @@ var wkfapp = /** @class */ (function () {
4740
4744
  _this.user_nome = _this.app_s.user_name;
4741
4745
  _this.user_cognome = _this.app_s.user_surname;
4742
4746
  _this.user_email = _this.app_s.user_email;
4743
- _this.app_s.getState().topnavTitle = _this.att_panelcat;
4747
+ _this.m_uti.set_home_title(_this.att_panelcat);
4744
4748
  var p_3 = new QParam();
4745
4749
  p_3.sql = "SELECT_UTENTE_WKF_ADMIN";
4746
4750
  p_3.types = ['string', 'string'];
@@ -11961,7 +11965,7 @@ var dati_aggiuntivi = /** @class */ (function () {
11961
11965
  this.btnApprova_label = 'APPROVA';
11962
11966
  this.btnAssegna_label = "Assegna";
11963
11967
  this.btnRespingi_label = 'RESPINGI';
11964
- this.app_s.getState().topnavTitle = this.app_info.descrizione_breve + ' - Nuova Richiesta';
11968
+ this.uti_s.set_home_title(this.app_info.descrizione_breve + ' - Nuova Richiesta');
11965
11969
  this.reset_form(this.app_info.descrizione_breve + ' - Nuova Richiesta');
11966
11970
  this.reset_counters_int(0, 0);
11967
11971
  /*
@@ -12046,7 +12050,7 @@ var dati_aggiuntivi = /** @class */ (function () {
12046
12050
  break;
12047
12051
  }
12048
12052
  this.app_s.getState().wkf_doc_info.in_carico_a = this.s_uto;
12049
- this.app_s.getState().topnavTitle = this.app_info.descrizione_breve + ' ' + this.m_obj.codice + ' - ' + this.m_obj.stat_stato; //+' ('+s_uto+')';
12053
+ this.uti_s.set_home_title(this.app_info.descrizione_breve + ' ' + this.m_obj.codice + ' - ' + this.m_obj.stat_stato);
12050
12054
  this.reset_form(this.app_info.descrizione_breve + ' ' + this.m_obj.codice + ' - ' + this.m_obj.stat_stato); //+' ('+s_uto+')');
12051
12055
  };
12052
12056
  dati_aggiuntivi.prototype.onResize = function (event) {