@esfaenza/extensions 15.2.27 → 15.2.29

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.
@@ -896,7 +896,7 @@ class MessageService {
896
896
  });
897
897
  }
898
898
  else
899
- (level == "warning" ? this._simpleWarningWithChoice : this._simpleSuccessWithChoice)(title, text, onsuccess, onerror);
899
+ (level == "warning" ? this._simpleWarningWithChoice.bind(this) : this._simpleSuccessWithChoice.bind(this))(title, text, onsuccess, onerror);
900
900
  }
901
901
  /**
902
902
  * Mostra un messaggio di success con richiesta di conferma e gestisce il risultato chiamato i callback **onconfirm** o **onabort**
@@ -1898,7 +1898,7 @@ class ExportService {
1898
1898
  //Salto 1 > diventa obj
1899
1899
  //Salto 2 > diventa obj.subobj
1900
1900
  //ecc...
1901
- jmps.forEach(pp => { clone = clone[pp]; });
1901
+ jmps.forEach(pp => { clone = clone?.[pp]; });
1902
1902
  //Valore finale :D
1903
1903
  let value = clone;
1904
1904
  let text = obj[prop + csvHdrPrefix];