We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c3b969 commit 6db8b06Copy full SHA for 6db8b06
src/Body/BodyRow.tsx
@@ -87,7 +87,7 @@ function BodyRow<RecordType extends { children?: RecordType[] }>(props: BodyRowP
87
const rowSupportExpand = expandableType === 'row' && (!rowExpandable || rowExpandable(record));
88
// Only when row is not expandable and `children` exist in record
89
const nestExpandable = expandableType === 'nest';
90
- const hasNestChildren = childrenColumnName in record;
+ const hasNestChildren = childrenColumnName in record && record[childrenColumnName];
91
const mergedExpandable = rowSupportExpand || nestExpandable;
92
93
// =========================== onRow ===========================
0 commit comments