Merge pull request #975 from matkoniecz/feature/stop-showing-child-count

Stop showing child count in group headers.
This commit is contained in:
Mike Simpson 2022-11-08 11:51:49 +00:00 committed by GitHub
commit 5c2455ce8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,6 @@ const DataEntryGroup: React.FunctionComponent<DataEntryGroupProps> = (props) =>
<CollapseIcon collapsed={collapsed} />
<span className='data-entry-group-title'>
{props.name}
<span className='data-entry-group-count'>{showCount && ` (${React.Children.count(props.children)} attributes)`}</span>
</span>
</div>
<div className={`data-entry-group-body ${collapsed ? 'collapse' : ''}`}>