1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-26 11:16:12 +04:00

[DOCS] - charts fix

This commit is contained in:
mrszympek
2019-06-18 23:06:33 +02:00
parent 8aec4365bd
commit 45d5f8c424

View File

@@ -6,8 +6,8 @@ menu: docs.charts
### c3.js charts
{% for chart in site.data.charts %}
{% example html %}
{% if chart[1].display %}
{% example html %}
{% assign data = chart[0] %}
{% assign key = 'chart-' | append: data %}
<div class="card">
@@ -19,6 +19,6 @@ menu: docs.charts
</div>
</div>
{% include js/charts.html id=key chart-id=data %}
{% endif %}
{% endexample %}
{% endif %}
{% endfor %}