Skip to content

Commit 53276dc

Browse files
committed
fix: fix iterator map in getCheckboxState() #3177 #3239
1 parent 66da512 commit 53276dc

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@visactor/vtable",
5+
"comment": "fix: fix iterator map in getCheckboxState() #3177 #3239",
6+
"type": "none"
7+
}
8+
],
9+
"packageName": "@visactor/vtable"
10+
}

packages/vtable/src/ListTable.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1069,7 +1069,7 @@ export class ListTable extends BaseTable implements ListTableAPI {
10691069
if (this.options.groupBy) {
10701070
stateArr = getGroupCheckboxState(this) as any;
10711071
}
1072-
return stateArr.map((state: any) => {
1072+
return Array.from(stateArr, (state: any) => {
10731073
return state[field];
10741074
});
10751075
}

0 commit comments

Comments
 (0)