Skip to content

Commit

Permalink
fix: child row expand status sync
Browse files Browse the repository at this point in the history
  • Loading branch information
hibig committed Jan 22, 2025
1 parent d1369e7 commit c52af7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/seal-table/components/table-row.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const TableRow: React.FC<
};

const filterUpdateChildrenHandler = () => {
if (!expanded) {
if (!expandedRowKeys?.includes(record[rowKey])) {
return;
}
const dataList = _.filter(tableContext.allChildren, (data: any) => {
Expand Down

0 comments on commit c52af7a

Please sign in to comment.