search bar version précédente

This commit is contained in:
Thomas 2022-02-27 14:45:54 +01:00 committed by GitHub
parent 4d92ddb960
commit 01778dbfdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -36,8 +36,8 @@ export class SearchBarComponent implements OnInit {
console.log(this.restauByName); console.log(this.restauByName);
this.apiBackService.setListRestau(this.restauByName, "filtres"); this.apiBackService.setListRestau(this.restauByName, "filtres");
this.route.routeReuseStrategy.shouldReuseRoute= () => false; //this.route.routeReuseStrategy.shouldReuseRoute= () => false;
this.route.onSameUrlNavigation = 'reload'; //this.route.onSameUrlNavigation = 'reload';
this.route.navigate(['restaurants']); this.route.navigate(['restaurants']);
} }
} }