ps-toolkit-ui 1.19.40 → 1.19.41

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.
@@ -3835,19 +3835,18 @@
3835
3835
  return this.row.Statuses && this.row.Statuses.includes(exports.TableRowStatus.Unread) ? 'unread ' : '';
3836
3836
  };
3837
3837
  TableRowComponent.prototype.selectRow = function (e) {
3838
- if (!this.table.withSelect) {
3839
- return;
3840
- }
3841
- if ($__namespace(e.target).closest('.handle-con').hasClass('handle-con') || $__namespace(e.target).closest('.options-cell').hasClass('options-cell')) {
3842
- return;
3843
- }
3844
- var s = this.table.rows.find(function (x) { return x.selected; });
3845
- if (s) {
3846
- s.selected = false;
3847
- }
3848
- this.row.selected = true;
3849
- if (this.table.onSelectRow) {
3850
- this.table.onSelectRow(this.row.Data);
3838
+ if (this.table.withSelect) {
3839
+ if ($__namespace(e.target).closest('.handle-con').hasClass('handle-con') || $__namespace(e.target).closest('.options-cell').hasClass('options-cell')) {
3840
+ return;
3841
+ }
3842
+ var s = this.table.rows.find(function (x) { return x.selected; });
3843
+ if (s) {
3844
+ s.selected = false;
3845
+ }
3846
+ this.row.selected = true;
3847
+ if (this.table.onSelectRow) {
3848
+ this.table.onSelectRow(this.row.Data);
3849
+ }
3851
3850
  }
3852
3851
  };
3853
3852
  return TableRowComponent;