A free open source IT asset/license management system
Make regular and highlight colors the same, since we're not using highlight colors in the pie chart yet
snipe37be587c390e
diff --git a/app/Helpers/Helper.php b/app/Helpers/Helper.phpindex 78a1625134..f2f9aba4d0 100644--- a/app/Helpers/Helper.php+++ b/app/Helpers/Helper.php@@ -49,7 +49,7 @@ class Helperreturn trim($value);}- // Static colors+ // Static colors for pie chartspublic static function chartColors(){$colors = [@@ -67,7 +67,8 @@ class Helperreturn $colors;}- // Static colors+ // Static background (highlight) colors for pie charts+ // This is not currently used, but might be in the near future.public static function chartBackgroundColors(){$colors = [diff --git a/app/Http/Controllers/StatuslabelsController.php b/app/Http/Controllers/StatuslabelsController.phpindex cbaa72214a..0387c3a805 100755--- a/app/Http/Controllers/StatuslabelsController.php+++ b/app/Http/Controllers/StatuslabelsController.php@@ -62,7 +62,7 @@ class StatuslabelsController extends Controller"datasets" => [ ["data" => $points,"backgroundColor" => Helper::chartColors(),- "hoverBackgroundColor" => Helper::chartBackgroundColors()+ "hoverBackgroundColor" => Helper::chartColors()]]];return $result;