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('')}
` : ''} `; }