Skip to content

Commit

Permalink
Fixed #15338 - Update condition
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed May 16, 2024
1 parent c1f644e commit 2d05235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/table/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4711,7 +4711,7 @@ export class TableCheckbox {

constructor(public dt: Table, public tableService: TableService, public cd: ChangeDetectorRef) {
this.subscription = this.dt.tableService.selectionSource$.subscribe(() => {
this.checked = this.dt.isSelected(this.value);
this.checked = this.dt.isSelected(this.value) && !this.disabled;
this.ariaLabel = this.ariaLabel || this.dt.config.translation.aria ? (this.checked ? this.dt.config.translation.aria.selectRow : this.dt.config.translation.aria.unselectRow) : undefined;
this.cd.markForCheck();
});
Expand Down

0 comments on commit 2d05235

Please sign in to comment.