search bar version précédente
This commit is contained in:
parent
4d92ddb960
commit
01778dbfdb
|
@ -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']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue