Skip to content

Commit

Permalink
[BUGFIX] Fix JavaScript for chart generation (#194)
Browse files Browse the repository at this point in the history
* [BUGFIX] Return proper type in Symfony console commands

Fixes: #183

* [BUGFIX] Fix JavaScript for chart generation

Relates to #191
  • Loading branch information
peterkraume authored Jul 20, 2021
1 parent a34981d commit 4351eaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/Private/Templates/Statistic/Index.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
<f:if condition="{emConfiguration.useGoogleCharts}">
<div style="width: 100%; overflow: hidden;" id="chart_core_versions"></div>
<script type="text/javascript">
var dataSet = {coreVersionUsageJson -> f:format.raw()};
var dataSet = <f:format.raw>{coreVersionUsageJson}</f:format.raw>;
// Load the Visualization API and the corechart package.
google.charts.load('current', {'packages':['corechart']});

Expand Down

0 comments on commit 4351eaa

Please sign in to comment.