Merge branch 'dev' into Romain
This commit is contained in:
commit
6c9aa254e8
20 changed files with 329 additions and 211 deletions
|
|
@ -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>
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
.search-bar{
|
||||
width : 30%;
|
||||
}
|
||||
|
|
@ -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);
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -10,4 +10,5 @@ export interface Restaurant {
|
|||
aEmporter?: boolean;
|
||||
accesPMR?: boolean;
|
||||
surPlace?: boolean;
|
||||
typerestaus ?: any[];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue