diff options
| author | stilbruch <stilbruch@protonail.com> | 2022-05-09 18:05:23 -0500 |
|---|---|---|
| committer | stilbruch <stilbruch@protonail.com> | 2022-05-09 18:05:23 -0500 |
| commit | 083d5d904927e08bf365d74af504b14c6ad4a147 (patch) | |
| tree | 0c9742243bd0221b0e6d5dfaf42b1e1e9f34846e /app/templates/home.html | |
| parent | 99f2a95682b2acc03c595211a33cb1715abac429 (diff) | |
| download | Strengthy-083d5d904927e08bf365d74af504b14c6ad4a147.tar.xz Strengthy-083d5d904927e08bf365d74af504b14c6ad4a147.zip | |
More bugs
Diffstat (limited to 'app/templates/home.html')
| -rw-r--r-- | app/templates/home.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/templates/home.html b/app/templates/home.html index e06e79b..bf22f67 100644 --- a/app/templates/home.html +++ b/app/templates/home.html @@ -134,7 +134,7 @@ <script type="text/javascript" src="/static/js/chart.js"></script> <script> {% for completed_workout in top3 %} - exercise_chart('chart-{{ loop.index }}', {{ top3[loop.index - 1].id }}, "{{ top3[loop.index - 1].name }}"); + exercise_chart('chart-{{ loop.index }}', {{ top3[loop.index0].id }}, "{{ top3[loop.index0].name }}"); {% endfor %} </script> {% endblock %} |
