feat: suppression d'un projet
This commit is contained in:
@@ -7,13 +7,13 @@
|
||||
</h2>
|
||||
<div>
|
||||
<div>
|
||||
@for (task of tasks(); track task.id_task) {
|
||||
<p>
|
||||
{{ task.name_task }}
|
||||
</p>
|
||||
@for (task of tasks(); track task.id_task) {
|
||||
<p>
|
||||
{{ task.name_task }}
|
||||
</p>
|
||||
|
||||
<button (click)="deleteTask(task.id_task)">Supprimer la tâche </button>
|
||||
}
|
||||
<button (click)="deleteTask(task.id_task)">Supprimer la tâche </button>
|
||||
}
|
||||
</div>
|
||||
<br/>
|
||||
<button (click)="toggleTaskForm()">
|
||||
@@ -43,11 +43,17 @@
|
||||
Section groupes de tâches
|
||||
</h2>
|
||||
<div>
|
||||
@for (group of groups(); track group.id_group) {
|
||||
<p>
|
||||
{{ group.name_group }}
|
||||
</p>
|
||||
}
|
||||
<div>
|
||||
@for (group of groups(); track group.id_group) {
|
||||
<p>
|
||||
{{ group.name_group }}
|
||||
</p>
|
||||
|
||||
<button (click)="deleteGroup(group.id_group)">Supprimer le groupe </button>
|
||||
}
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
|
||||
<button (click)="toggleGroupForm()">Ajouter un groupe</button>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user