fix: post page panic

This commit is contained in:
trisua 2025-04-12 22:42:57 -04:00
parent 7960484bf9
commit 9d091d5421
5 changed files with 26 additions and 2 deletions

View file

@ -231,7 +231,7 @@
<div class="card flex flex-col gap-4">
<!-- prettier-ignore -->
{% for post in replies %}
{{ components::post(post=post[0], owner=post[1], question=post[4], secondary=true, show_community=false) }}
{{ components::post(post=post[0], owner=post[1], question=post[3], secondary=true, show_community=false) }}
{% endfor %}
{{ components::pagination(page=page, items=replies|length) }}