Remove no longer needed control data

This commit is contained in:
Chris Wilson 2022-04-13 23:51:44 -04:00 committed by KonoTyran
parent 66921499ad
commit 6e171d19f0
2 changed files with 3 additions and 3 deletions

View File

@ -73,4 +73,4 @@ def stats():
script, charts = components((plot, pie))
return render_template("stats.html", js_resources=INLINE.render_js(), css_resources=INLINE.render_css(),
chart_data=script, charts=charts, chart_count=len(charts))
chart_data=script, charts=charts)

View File

@ -18,9 +18,9 @@
</h5>
<div id="charts-wrapper">
{% for index in range(chart_count) %}
{% for chart in charts %}
<div class="chart-container">
{{ charts[index]|indent(12)|safe }}
{{ chart|indent(12)|safe }}
</div>
{% endfor %}
</div>