Add count of elements to new datasource modal (#2846)

This commit is contained in:
Eyuel Berga Woldemichael 2022-04-18 17:53:31 +03:00 committed by GitHub
parent 83a68c88de
commit 31b4195aa2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -343,7 +343,7 @@ class DataSourceManager extends React.Component {
<ListGroup className="datasource-lists-modal" variant="flush">
{dataSourceList.map((datasource) => (
<ListGroup.Item key={datasource.key} eventKey={datasource.key}>
{datasource.type}
{`${datasource.type} (${datasource.list.length})`}
</ListGroup.Item>
))}
</ListGroup>