Fix progress index after search

This commit is contained in:
Stan
2025-07-02 14:23:12 +02:00
parent 1a2c7b5f55
commit e77509b909

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">
{index + 1}. {task.name} {data.tasks.indexOf(task) + 1}. {task.name}
</a> </a>
</td> </td>
<td class="px-6 py-2 border-b"> <td class="px-6 py-2 border-b">