bug : enregistre en base cocher toutes les taches

This commit is contained in:
HarmandI 2022-03-05 20:22:10 +01:00
parent 3d16635cef
commit cca4e96f2b
3 changed files with 15 additions and 11 deletions

View file

@ -1,7 +1,7 @@
<app-header></app-header>
<div class="row">
<div class="col-md-auto">
<app-side-bar></app-side-bar>
<app-side-bar [backgroundColor]="'#4E9E7B'"></app-side-bar>
</div>
<div class="col menu text-center">
<h2>To-Do-List</h2>

View file

@ -1,7 +1,7 @@
import { Component, OnInit } from '@angular/core';
import { ToDoList } from 'src/app/models/to-do-list';
import { TodoService } from 'src/app/services/todo.service';
import { Team } from 'src/app/models/team';
@Component({
selector: 'app-page-to-do-list',
@ -30,7 +30,7 @@ export class PageToDoListComponent implements OnInit {
});
}
//Ajouter une todo List si l'input n'est pas vide
//Ajouter une todo List si l'input contient un texte
addTodoByTeamId() {
const todoList: ToDoList = {
nom: this.todoListTitle,