mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-21 13:47:39 +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}
|
data={fullData}
|
||||||
maxLevel={4}
|
maxLevel={4}
|
||||||
showWeekdayLabels={true}
|
showWeekdayLabels={true}
|
||||||
|
labels={{
|
||||||
|
totalCount: '{{count}} activities in the last year',
|
||||||
|
}}
|
||||||
renderBlock={(block, activity) => (
|
renderBlock={(block, activity) => (
|
||||||
<Tooltip
|
<Tooltip
|
||||||
title={`${activity.count} activities on ${activity.date}`}
|
title={`${activity.count} activities on ${activity.date}`}
|
||||||
|
Loading…
Reference in New Issue
Block a user