fix(data-table): batch selection checkbox should be reactive (#1085)

This commit is contained in:
metonym 2022-02-10 19:51:26 -08:00 committed by GitHub
commit 34affd851a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);