Merge pull request #15 from AlineRinquin/aline
ajout des commentaires manquants sur le code
This commit is contained in:
commit
a545bf5a25
1 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,7 @@ export class PageRepertoireComponent implements OnInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
|
//récupère tout les contact et leurs info
|
||||||
this.repertoireService.getContact().subscribe((listContact: any[]) => {
|
this.repertoireService.getContact().subscribe((listContact: any[]) => {
|
||||||
console.log(listContact);
|
console.log(listContact);
|
||||||
this.listContact = listContact;
|
this.listContact = listContact;
|
||||||
|
@ -62,6 +63,7 @@ export class PageRepertoireComponent implements OnInit {
|
||||||
this.listContact = prenom;
|
this.listContact = prenom;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Méthode qui au click va ouvrir les détails d'un contat
|
||||||
onClick(personne: any) {
|
onClick(personne: any) {
|
||||||
console.log(personne);
|
console.log(personne);
|
||||||
this.openDetails = personne;
|
this.openDetails = personne;
|
||||||
|
|
Loading…
Add table
Reference in a new issue