[Client] stats - display ave. speed labels only if 1 sport is displayed
This commit is contained in:
@ -118,7 +118,9 @@
|
||||
return props.fullStats && context.chart.chartArea.width < 300
|
||||
? false
|
||||
: props.displayedData === 'average_speed'
|
||||
? 'auto'
|
||||
? props.displayedSportIds.length == 1
|
||||
? 'auto'
|
||||
: false
|
||||
: true
|
||||
},
|
||||
formatter: function (value, context) {
|
||||
|
Reference in New Issue
Block a user