mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-21 20:59:20 +00:00
fix(data-table): batch selection checkbox should be reactive
Fixes #1083
This commit is contained in:
parent
a3c329a2e8
commit
0518fe6ed9
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@
|
|||
{}
|
||||
);
|
||||
|
||||
let selectAll = false;
|
||||
$: selectAll = rows.length > 0 && selectedRowIds.length === rows.length;
|
||||
let refSelectAll = null;
|
||||
|
||||
$: batchSelectedIds.set(selectedRowIds);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue