Merge branch 'dev' into Romain

This commit is contained in:
Romain Verger 2022-03-02 16:51:22 +01:00
commit 6c9aa254e8
20 changed files with 329 additions and 211 deletions

View file

@ -1 +1,9 @@
<app-add-restau></app-add-restau>
<div class="container">
<div class="d-flex flex-row justify-content-around"><div>
<app-add-restau></app-add-restau>
</div>
<div class="search-bar">
<app-update-del-restau></app-update-del-restau>
</div>
</div>
</div>

View file

@ -0,0 +1,3 @@
.search-bar{
width : 30%;
}

View file

@ -15,11 +15,22 @@ export class FavorisUserComponent implements OnInit {
constructor(private apiBackService : ApiBackService,private tokenService : TokenService) {
<<<<<<< HEAD
=======
constructor(private apiBackService : ApiBackService,private tokenService : TokenService) {
>>>>>>> dev
}
ngOnInit(): void {
this.personneConnectee = this.apiBackService.getPersonneById(this.tokenService.getCurrentUserId());
this.apiBackService.getPersonneById(this.tokenService.getCurrentUserId()).subscribe(
resp =>{
console.log(resp);
this.personneConnectee = resp;
}
);
console.log(this.personneConnectee);

View file

@ -10,4 +10,5 @@ export interface Restaurant {
aEmporter?: boolean;
accesPMR?: boolean;
surPlace?: boolean;
typerestaus ?: any[];
}