avancement searchBar

This commit is contained in:
Romain Verger 2022-02-18 17:22:53 +01:00
parent 3dcdbfb405
commit e8a1dcc759
3 changed files with 15 additions and 24 deletions

View file

@ -129,9 +129,6 @@ export class FiltersPageComponent implements OnInit {
// -------------------------------------------------------------------------------------------------------------------------------------------
console.log(this.activatedRoute.snapshot.routeConfig?.path);
console.log(restaus);
this.apiBackService.setListRestau(restaus, this.activatedRoute.snapshot.routeConfig?.path);
// on fait passer en second parametre le path de la route c'est a dire "filtres"
this.route.navigate(['restaurants']);

View file

@ -3,8 +3,6 @@
<app-card-resto [restaurant]= "restaurantData"></app-card-resto>
</div>
</app-template-page>