Skip to content

Commit

Permalink
Evarisk#984 [Dashboard] fix: format = indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
evarisk-francois committed Jun 24, 2024
1 parent 9e8ad4c commit 8a352d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions class/saturnedashboard.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ public function load_dashboard(?array $moreParams = []): array
});

$positionsKeys = array_keys($positions);
$index = 0;
$index = 0;
foreach ($dashboardInfos['graphs'] as $key => $databoardGraphs) {
foreach ($databoardGraphs as $keyElement => $dashboardGraph) {
$positionKey = $positionsKeys[$index];
$positionKey = $positionsKeys[$index];
$dashboardInfos['graphs'][$key][$keyElement] = $positions[$positionKey];
$index++;
}
Expand Down

0 comments on commit 8a352d5

Please sign in to comment.