@coolon/angular-ui-powerups 1.19.0 → 1.19.1

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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.19.1](https://bitbucket.org/coolon/angular-ui-powerups/compare/v1.19.0...v1.19.1) (2020-06-25)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * fixed row selection null pointer when no selection model defined ([f3a42d8](https://bitbucket.org/coolon/angular-ui-powerups/commit/f3a42d8b6fde30c2a6544e8269145701f50afc64))
11
+
5
12
  ## [1.19.0](https://bitbucket.org/coolon/angular-ui-powerups/compare/v1.18.1...v1.19.0) (2020-06-25)
6
13
 
7
14
 
@@ -2021,7 +2021,7 @@
2021
2021
  return this.selectionColumnModel && ((_a = column.isRowSelectionEnabled()) !== null && _a !== void 0 ? _a : this.isRowSelectionEnabledByDefault());
2022
2022
  };
2023
2023
  TableModel.prototype.isRowSelectionEnabledByDefault = function () {
2024
- return this.selectionColumnModel.isRowSelectionEnabledByDefault();
2024
+ return this.selectionColumnModel && this.selectionColumnModel.isRowSelectionEnabledByDefault();
2025
2025
  };
2026
2026
  TableModel.prototype.isRowSelectionEnabled = function () {
2027
2027
  return this.hasColumnsWithRowSelectionExplicitlyEnabled.value || this.isRowSelectionEnabledByDefault();