add index to tasks
This commit is contained in:
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user