add index to tasks

This commit is contained in:
2025-05-25 23:57:16 +02:00
parent fe3329fc37
commit 3a1877375d

View File

@@ -63,7 +63,7 @@
<tr class="{index % 2 === 0 ? 'bg-black' : 'bg-gray-950'} hover:bg-gray-800"> <tr class="{index % 2 === 0 ? 'bg-black' : 'bg-gray-950'} hover:bg-gray-800">
<td class="px-6 py-2 border-b"> <td class="px-6 py-2 border-b">
<a href={`/progress/${task.id}`} class="text-blue-500 hover:underline"> <a href={`/progress/${task.id}`} class="text-blue-500 hover:underline">
{task.name} {index + 1}. {task.name}
</a> </a>
</td> </td>
<td class="px-6 py-2 border-b"> <td class="px-6 py-2 border-b">