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 5c2fbf2 commit 6902b8fCopy full SHA for 6902b8f
1 file changed
core/src/section/Ellipsis.tsx
@@ -23,7 +23,8 @@ export const EllipsisComp = <T extends object>({ isExpanded, value, keyName }: E
23
const child =
24
render && typeof render === 'function' && render({ ...reset, 'data-expanded': isExpanded }, { value, keyName });
25
if (child) return child;
26
- if (!isExpanded) return null;
+
27
+ if (!isExpanded || (typeof value === 'object' && Object.keys(value).length == 0)) return null;
28
return <Elm {...reset} />;
29
};
30
0 commit comments