feat: suppression d'une tâche
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user