Support higher number of problems in the tactical overview

refs #3746
This commit is contained in:
Niko Martini 2019-06-25 16:00:13 +02:00
parent d1d7526ad2
commit cae8cea482
1 changed files with 1 additions and 1 deletions

View File

@ -366,7 +366,7 @@ class Donut
protected function shortenLabel($label)
{
if (is_numeric($label) && strlen($label) > 3) {
return '~' . substr(round($label, -3), 0, 1) . 'k';
return round($label, -3)/1000 . 'k';
}
return $label;