Stop showing child count in group headers.

This commit is contained in:
Mateusz Konieczny 2022-11-07 17:24:19 +01:00
parent 406f6d50a0
commit 24b6905829

View File

@ -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' : ''}`}>