mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
Fixes #867
This commit is contained in:
parent
3a0e2e92b8
commit
fb7ebb93cb
1 changed files with 1 additions and 4 deletions
|
@ -172,10 +172,7 @@
|
||||||
selectedRowIds.length > 0 && selectedRowIds.length < rows.length;
|
selectedRowIds.length > 0 && selectedRowIds.length < rows.length;
|
||||||
$: if (batchExpansion) {
|
$: if (batchExpansion) {
|
||||||
expandable = true;
|
expandable = true;
|
||||||
|
expanded = expandedRowIds.length === expandableRowIds.length;
|
||||||
if (expandedRowIds.length < expandableRowIds.length) {
|
|
||||||
expanded = false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
$: if (radio || batchSelection) selectable = true;
|
$: if (radio || batchSelection) selectable = true;
|
||||||
$: tableSortable.set(sortable);
|
$: tableSortable.set(sortable);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue