Client - update tooltip title
This commit is contained in:
parent
279271af42
commit
0c78b7a618
@ -169,8 +169,10 @@
|
|||||||
return tooltipItems.length === 0
|
return tooltipItems.length === 0
|
||||||
? ''
|
? ''
|
||||||
: displayDistance.value
|
: displayDistance.value
|
||||||
? tooltipItems[0].label + ' km'
|
? `${t('workouts.DISTANCE')}: ${tooltipItems[0].label} km`
|
||||||
: formatDuration(tooltipItems[0].label.replace(',', ''))
|
: `${t('workouts.DURATION')}: ${formatDuration(
|
||||||
|
tooltipItems[0].label.replace(',', '')
|
||||||
|
)}`
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user