From 39bb53a72be5d2354433a0bc4a86eb8f4537529f Mon Sep 17 00:00:00 2001 From: caoimhinr Date: Wed, 27 May 2026 09:45:26 +0200 Subject: [PATCH] fix: correct stale childCount reference to visibleCount in renderTicketRow Co-Authored-By: Claude Sonnet 4.6 --- corvid/templates/tickets_base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/corvid/templates/tickets_base.html b/corvid/templates/tickets_base.html index 3f32088..d65374b 100644 --- a/corvid/templates/tickets_base.html +++ b/corvid/templates/tickets_base.html @@ -722,7 +722,7 @@ function renderTicketRow(t) { ${t.attachment_count ? `ยท${t.attachment_count} file${t.attachment_count !== 1 ? 's' : ''}` : ''} - ${childCount && expanded ? `
${visibleChildIds.map(cid => renderTicketRow(tickets.find(c => c.id === cid))).join('')}
` : ''} + ${visibleCount && expanded ? `
${visibleChildIds.map(cid => renderTicketRow(tickets.find(c => c.id === cid))).join('')}
` : ''} `; }