@esfaenza/es-table 15.2.8 → 15.2.9

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.
@@ -4784,14 +4784,13 @@ class EsTableComponent {
4784
4784
  * Effettua un hard reset della selezione
4785
4785
  */
4786
4786
  resetSelection(emit = false) {
4787
- var _a;
4788
4787
  this.selection_H.clearSelectionCaches();
4789
- if ((_a = this.View) === null || _a === void 0 ? void 0 : _a.selection) {
4788
+ if (this.viewMode && this.View) {
4790
4789
  this.View.selection = new ItemsSelection([]);
4791
4790
  if (emit)
4792
4791
  this.onSelectionChanged.emit(this.View.selection);
4793
4792
  }
4794
- else if (this.arraymodeSelection) {
4793
+ else if (this.arrayMode) {
4795
4794
  this.arraymodeSelection = new ItemsSelection([]);
4796
4795
  if (emit)
4797
4796
  this.onSelectionChanged.emit(this.arraymodeSelection);