mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Merge pull request #3834 from Icinga/fix/tactical-overview-big-numbers
Support higher number of problems in the tactical overview
This commit is contained in:
commit
559d57d466
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user