@fluxhub/fluxhub-lib 11.0.100 → 11.0.101

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.
@@ -24793,7 +24793,7 @@
24793
24793
  for (var i = 0; i < this.livs.length; i++)
24794
24794
  if (this.livs[i].step == liv) {
24795
24795
  console.log(' liv ', this.livs[i]);
24796
- if (this.user_idp.toUpperCase() == this.livs[i].username.toUpperCase()) {
24796
+ if (this.user_idp.toUpperCase() == (this.livs[i].username || 'ND').toUpperCase()) {
24797
24797
  console.log(this.m_obj.canale + ' ' + this.livs[i].context);
24798
24798
  if (this.m_obj.canale == this.livs[i].context) {
24799
24799
  console.log('clevel 1 ', this.livs[i]);
@@ -24809,7 +24809,7 @@
24809
24809
  this.livs[i].username = 'ZZZ';
24810
24810
  if (this.livs[i].step == liv) {
24811
24811
  if (this.livs[i].context == '*ALLUSERS' ||
24812
- this.user_idp.toUpperCase() == this.livs[i].username.toUpperCase()) {
24812
+ this.user_idp.toUpperCase() == (this.livs[i].username || 'ND').toUpperCase()) {
24813
24813
  if (this.c_canale == '' ||
24814
24814
  this.livs[i].context == '' ||
24815
24815
  this.c_canale == this.livs[i].context ||
@@ -24835,7 +24835,7 @@
24835
24835
  liv = this.clevel.livello;
24836
24836
  for (var i = 0; i < this.livs.length; i++)
24837
24837
  if (this.user_idp.toUpperCase() ==
24838
- this.livs[i].username.toUpperCase() &&
24838
+ (this.livs[i].username || 'ND').toUpperCase() &&
24839
24839
  this.livs[i].notifica == 0)
24840
24840
  if (this.livs[i].step > liv &&
24841
24841
  liv != 0 &&
@@ -24848,7 +24848,7 @@
24848
24848
  var aliv = this.wkf_rule(liv);
24849
24849
  for (var ixc = 0; ixc < this.livs.length; ixc++) {
24850
24850
  if (this.livs[ixc].livello == aliv &&
24851
- this.user_idp.toUpperCase() == this.livs[ixc].idp.toUpperCase() &&
24851
+ this.user_idp.toUpperCase() == (this.livs[ixc].username || 'ND').toUpperCase() &&
24852
24852
  (this.c_canale == '' ||
24853
24853
  this.livs[ixc].context == '' ||
24854
24854
  this.c_canale == this.livs[ixc].context)) {
@@ -26058,7 +26058,7 @@
26058
26058
  this.over_canale_iniz();
26059
26059
  if (this.m_obj.stato <= 10)
26060
26060
  for (var i = 0; i < this.livs.length; i++)
26061
- if (this.livs[i].username.toUpperCase() == this.user_idp.toUpperCase() ||
26061
+ if ((this.livs[i].username || 'ND').toUpperCase() == this.user_idp.toUpperCase() ||
26062
26062
  this.livs[i].context == '*ALLUSERS')
26063
26063
  if (this.livs[i].step == 10 && this.livs[i].notifica == 0) {
26064
26064
  if (this.livs[i].context == '*ALLUSERS') {
@@ -26140,8 +26140,8 @@
26140
26140
  for (var i = 0; i < this.livs.length; i++)
26141
26141
  if (this.livs[i].step == min_liv &&
26142
26142
  this.app_s.getState().wkf_doc_info.curr_user.toUpperCase() ==
26143
- this.livs[i].username.toUpperCase()) {
26144
- console.log(' this.livs[i].step ', this.livs[i].step, this.livs[i].username.toUpperCase(), this.livs[i].context);
26143
+ (this.livs[i].username || 'ND').toUpperCase()) {
26144
+ console.log(' this.livs[i].step ', this.livs[i].step, (this.livs[i].username || 'ND').toUpperCase(), this.livs[i].context);
26145
26145
  var b_found = false;
26146
26146
  for (var y = 0; y < sv.length; y++)
26147
26147
  if (sv[y] == this.livs[i].context) {
@@ -26496,7 +26496,7 @@
26496
26496
  //console.log('this.livs[i].username.toUpperCase() ',this.livs[i].username.toUpperCase() );
26497
26497
  if (this.livs[i].username == null)
26498
26498
  this.livs[i].username = 'ZZZ';
26499
- if (this.user_idp.toUpperCase() == this.livs[i].username.toUpperCase() ||
26499
+ if (this.user_idp.toUpperCase() == (this.livs[i].username || 'ND').toUpperCase() ||
26500
26500
  this.livs[i].context == '*ALLUSERS') {
26501
26501
  // if (this.livs[i].abilita_indietro == 1) this.respingi_enabled = true;
26502
26502
  // else this.respingi_enabled = false;
@@ -26713,7 +26713,7 @@
26713
26713
  var a = s.split(',');
26714
26714
  for (var y = 0; y < a.length; y++)
26715
26715
  for (var i = 0; i < this.livs.length; i++) {
26716
- if (a[y].toUpperCase() == this.livs[i].username.toUpperCase()) {
26716
+ if (a[y].toUpperCase() == (this.livs[i].username || 'ND').toUpperCase()) {
26717
26717
  if (rt != '')
26718
26718
  rt = rt + ',';
26719
26719
  rt = rt + this.livs[i].nc;