Skip to content

Commit

Permalink
fix(table): enable select all checkbox without totalRows, only data
Browse files Browse the repository at this point in the history
  • Loading branch information
mjlime authored and adrianschmidt committed Sep 30, 2022
1 parent d77d37e commit 15b3abf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/table/table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ export class Table {
>
<limel-checkbox
onChange={this.selectAllOnChange}
disabled={!this.totalRows}
disabled={!this.data.length}
checked={this.tableSelection?.hasSelection}
indeterminate={
this.tableSelection?.hasSelection &&
Expand Down

0 comments on commit 15b3abf

Please sign in to comment.