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

Fixes #1083
This commit is contained in:
Eric Liu 2022-02-10 19:47:16 -08:00
commit 0518fe6ed9

View file

@ -164,7 +164,7 @@
{}
);
let selectAll = false;
$: selectAll = rows.length > 0 && selectedRowIds.length === rows.length;
let refSelectAll = null;
$: batchSelectedIds.set(selectedRowIds);