mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
fix(data-table): batch selection checkbox should be reactive (#1085)
This commit is contained in:
parent
a3c329a2e8
commit
34affd851a
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;
|
let refSelectAll = null;
|
||||||
|
|
||||||
$: batchSelectedIds.set(selectedRowIds);
|
$: batchSelectedIds.set(selectedRowIds);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue