Skip to content

Commit

Permalink
Evarisk#1128 [SatureDashboard] fix: dashboard broken because no space
Browse files Browse the repository at this point in the history
  • Loading branch information
evarisk-kilyan committed Dec 4, 2024
1 parent fd4cfd0 commit 8dc2d3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class/saturnedashboard.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ public function show_dashboard(?array $moreParams = [])
$graph->SetHeight($dashboardGraph['height'] ?? $height);
$graph->setShowLegend($dashboardGraph['showlegend'] ?? 2);
$graph->draw($fileName[$uniqueKey], $fileUrl[$uniqueKey]);
print '<div' . (isset($dashboardGraph['moreCSS']) ? 'class="' . $dashboardGraph['moreCSS'] . '"' : '') . 'id="graph-' . $dashboardGraph['name'] . '">';
print '<div' . (isset($dashboardGraph['moreCSS']) ? ' class="' . $dashboardGraph['moreCSS'] . '"' : '') . ' id="graph-' . $dashboardGraph['name'] . '">';

$downloadCSV = '<div class="flex flex-row justify-end">';
$downloadCSV .= '<input type="hidden" name="graph" value="' . dol_escape_htmltag(json_encode($dashboardGraph, JSON_UNESCAPED_UNICODE)) . '">';
Expand Down

0 comments on commit 8dc2d3f

Please sign in to comment.