mirror of
https://github.com/Unleash/unleash.git
synced 2025-05-17 01:17:29 +02:00
feat: define activity labels (#8713)
Now the label for total activities is more correct. 
This commit is contained in:
parent
5f3c83fbbd
commit
76b7b247fc
@ -99,6 +99,9 @@ export const ProjectActivity = () => {
|
||||
data={fullData}
|
||||
maxLevel={4}
|
||||
showWeekdayLabels={true}
|
||||
labels={{
|
||||
totalCount: '{{count}} activities in the last year',
|
||||
}}
|
||||
renderBlock={(block, activity) => (
|
||||
<Tooltip
|
||||
title={`${activity.count} activities on ${activity.date}`}
|
||||
|
Loading…
Reference in New Issue
Block a user