Skip to content

Commit

Permalink
Evarisk#3983 [Dashboard] fix: order of graphs
Browse files Browse the repository at this point in the history
  • Loading branch information
evarisk-kilyan committed Oct 4, 2024
1 parent 30ddfa0 commit 1daca9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class/riskanalysis/risk.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ public function load_dashboard(): array
$getRisksByDangerCategories = $this->getRisksByDangerCategories($dangerCategories, $riskByDangerCategoriesAndRiskAssessments);
$getRiskListsByDangerCategories = $this->getRiskListsByDangerCategories($dangerCategories, $riskByDangerCategoriesAndRiskAssessments, $filter, 'risk');

$array['graphs'] = [$getRisksByCotation, $getRisksByDangerCategoriesAndCriticality, $getRisksByDangerCategories];
$array['graphs'] = [$getRisksByDangerCategoriesAndCriticality, $getRisksByDangerCategories, $getRisksByCotation];
$array['lists'] = [$getRiskListsByDangerCategories];

return $array;
Expand Down

0 comments on commit 1daca9e

Please sign in to comment.