@churchillliving/se-ui-toolkit 6.53.112 → 6.53.113

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.
@@ -3094,7 +3094,9 @@ class GridComponent {
3094
3094
  }
3095
3095
  ngOnDestroy() {
3096
3096
  var _a;
3097
- (_a = this.reloadPage) === null || _a === void 0 ? void 0 : _a.unsubscribe();
3097
+ if (this.setGridRefreshTime) {
3098
+ (_a = this.reloadPage) === null || _a === void 0 ? void 0 : _a.unsubscribe();
3099
+ }
3098
3100
  }
3099
3101
  // apply user role permissions on grid columns
3100
3102
  applyColumnsPermissions() {
@@ -4692,7 +4694,7 @@ class GridComponent {
4692
4694
  // Invoke onClick Event.
4693
4695
  onClickEvent(column, row) {
4694
4696
  var _a;
4695
- if (column.type === EGridColumnType.LINK && column.editLink === false) {
4697
+ if (column.type === EGridColumnType.LINK && column.editLink === false && column.editable !== false) {
4696
4698
  let a = document.createElement('a');
4697
4699
  a.href = (_a = row[column.field + '_obj']) === null || _a === void 0 ? void 0 : _a.hyperlink;
4698
4700
  a.target = "_blank";