@fluxhub/fluxhub-lib 10.0.591 → 10.0.592

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.
@@ -23969,7 +23969,7 @@ class dati_aggiuntivi_v2 {
23969
23969
  prendi_in_carico() {
23970
23970
  this.in_carico = false;
23971
23971
  this.update_status(true, null, this.in_carico);
23972
- this.m_obj.autori = this.app_s.user_name;
23972
+ this.m_obj.autori = this.app_s.user;
23973
23973
  let p = new QParam();
23974
23974
  p.sql = "UPDATE_WKF_PRENDI_IN_CARICO";
23975
23975
  p.types = ['string', 'string', 'string'];
@@ -25367,8 +25367,9 @@ class dati_aggiuntivi_v2 {
25367
25367
  if (("," + this.m_obj.autori.toLowerCase() + ",").indexOf("," + this.user_idp.toLowerCase() + ",") != -1) {
25368
25368
  console.log('this.m_obj.autori ', this.m_obj.autori);
25369
25369
  if (this.m_obj.autori != null)
25370
- if (this.m_obj.autori.split(',').length != -1)
25370
+ if (this.m_obj.autori.split(',').length != 1)
25371
25371
  this.in_carico = true;
25372
+ console.log('this.in_carico !! ', this.in_carico);
25372
25373
  this.update_status(true, false, this.in_carico);
25373
25374
  if (this.respingi_enabled)
25374
25375
  this.update_status(null, true, this.in_carico);