Merge branch 'dev' into Romain
This commit is contained in:
commit
58332161ae
@ -35,8 +35,8 @@ export class CardRestoComponent implements OnInit {
|
||||
}
|
||||
onClickLike() {
|
||||
console.log('click');
|
||||
//this.isLiked = !this.isLiked;
|
||||
this.clickLike.emit(this.isLiked);
|
||||
this.restaurant.restauLike = !this.restaurant.restauLike;
|
||||
this.clickLike.emit(this.restaurant.restauLike);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -45,10 +45,9 @@ export class RestoPageComponent implements OnInit {
|
||||
}
|
||||
|
||||
onEventLike(){
|
||||
this.apiBackService.restoLiked$.next('');
|
||||
this.apiBackService.restoLiked$.next(true);
|
||||
console.log(this.apiBackService.restoLiked$);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -69,4 +69,5 @@ export class ApiBackService {
|
||||
getPersonneById(id: any) {
|
||||
return this.httpClient.get<User>(`${environment.apiUrl}/user/${id}`);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user