feat: suppression d'une tâche

This commit is contained in:
2026-09-23 23:35:28 +02:00
parent c09e2655b9
commit 55f4a665f8
4 changed files with 86 additions and 21 deletions
+5 -1
View File
@@ -6,12 +6,16 @@
Section tâches
</h2>
<div>
<div>
@for (task of tasks(); track task.id_task) {
<p>
{{ task.name_task }}
</p>
}
<button (click)="deleteTask(task.id_task)">Supprimer la tâche </button>
}
</div>
<br/>
<button (click)="toggleTaskForm()">
Ajouter une tâche
</button>