We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8592a71 commit 3077f5bCopy full SHA for 3077f5b
1 file changed
generators/app/templates/src/app/@core/route-reusable-strategy.ts
@@ -23,7 +23,7 @@ export class RouteReusableStrategy extends RouteReuseStrategy {
23
return null;
24
}
25
26
- public shouldReuseRoute(future: ActivatedRouteSnapshot, curr: ActivatedRouteSnapshot): boolean {
+ public shouldReuseRoute(curr: ActivatedRouteSnapshot, future: ActivatedRouteSnapshot): boolean {
27
// Reuse the route if the RouteConfig is the same, or if both routes use the
28
// same component, because the latter can have different RouteConfigs.
29
return future.routeConfig === curr.routeConfig ||
0 commit comments