diff --git a/src/app/header/components/search-bar/search-bar.component.ts b/src/app/header/components/search-bar/search-bar.component.ts index 1a2c8d4..5eb749b 100644 --- a/src/app/header/components/search-bar/search-bar.component.ts +++ b/src/app/header/components/search-bar/search-bar.component.ts @@ -36,8 +36,8 @@ export class SearchBarComponent implements OnInit { console.log(this.restauByName); this.apiBackService.setListRestau(this.restauByName, "filtres"); - this.route.routeReuseStrategy.shouldReuseRoute= () => false; - this.route.onSameUrlNavigation = 'reload'; + //this.route.routeReuseStrategy.shouldReuseRoute= () => false; + //this.route.onSameUrlNavigation = 'reload'; this.route.navigate(['restaurants']); } }