Closed zzacharo closed 3 years ago
Shouldn't the count be in a separate element somehow so we can do these round circles around the numbers:
@ntarocco @lnielsen if you want I can amend this PR with a template
prop, so what @lnielsen show can be feasible!
@lnielsen For the count, we will override this in invenio-app-rdm
similar to https://github.com/inveniosoftware/react-invenio-app-ils/blob/75f1faf53b973c2a44d72905115513ffc250730b/src/lib/modules/SearchControls/overridden/CardBucketAggregationValueElement.js#L5
agg.bucket
label by injecting alabel
key to theagg.buckets
items