@esfaenza/es-table 11.2.148 → 11.2.149

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.
@@ -4855,14 +4855,13 @@
4855
4855
  */
4856
4856
  EsTableComponent.prototype.resetSelection = function (emit) {
4857
4857
  if (emit === void 0) { emit = false; }
4858
- var _a;
4859
4858
  this.selection_H.clearSelectionCaches();
4860
- if ((_a = this.View) === null || _a === void 0 ? void 0 : _a.selection) {
4859
+ if (this.viewMode && this.View) {
4861
4860
  this.View.selection = new ItemsSelection([]);
4862
4861
  if (emit)
4863
4862
  this.onSelectionChanged.emit(this.View.selection);
4864
4863
  }
4865
- else if (this.arraymodeSelection) {
4864
+ else if (this.arrayMode) {
4866
4865
  this.arraymodeSelection = new ItemsSelection([]);
4867
4866
  if (emit)
4868
4867
  this.onSelectionChanged.emit(this.arraymodeSelection);