Stop showing child count in group headers.
This commit is contained in:
parent
406f6d50a0
commit
24b6905829
@ -26,7 +26,6 @@ const DataEntryGroup: React.FunctionComponent<DataEntryGroupProps> = (props) =>
|
|||||||
<CollapseIcon collapsed={collapsed} />
|
<CollapseIcon collapsed={collapsed} />
|
||||||
<span className='data-entry-group-title'>
|
<span className='data-entry-group-title'>
|
||||||
{props.name}
|
{props.name}
|
||||||
<span className='data-entry-group-count'>{showCount && ` (${React.Children.count(props.children)} attributes)`}</span>
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div className={`data-entry-group-body ${collapsed ? 'collapse' : ''}`}>
|
<div className={`data-entry-group-body ${collapsed ? 'collapse' : ''}`}>
|
||||||
|
Loading…
Reference in New Issue
Block a user