diff --git a/src/app/card-resto/card-resto.component.html b/src/app/card-resto/card-resto.component.html index 709fc3c..eda8112 100644 --- a/src/app/card-resto/card-resto.component.html +++ b/src/app/card-resto/card-resto.component.html @@ -39,9 +39,16 @@ {{distance}}m + + + {{ priceRef[restaurant.prix] }} + - - +

diff --git a/src/app/card-resto/card-resto.component.ts b/src/app/card-resto/card-resto.component.ts index 6bdb9be..005d776 100644 --- a/src/app/card-resto/card-resto.component.ts +++ b/src/app/card-resto/card-resto.component.ts @@ -13,7 +13,7 @@ export class CardRestoComponent implements OnInit { @Input() likeResto: any; @Output() clickLike = new EventEmitter(); isLiked : boolean = false; - priceRef = ["Info indisponible"," € 1-10€ "," €€ 11-20€"," €€€ 21-30€"," €€€€ 31-40€"]; + priceRef = ["Info indisponible","1-10€ ","11-20€","21-30€","31-40€"]; constructor(private apiBackService : ApiBackService) { this.distance = 0 ;