We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
lastSuccessfulNavigation
1 parent 5eeebf9 commit c62f2bbCopy full SHA for c62f2bb
packages/angular/ssr/src/utils/ng.ts
@@ -100,7 +100,7 @@ export async function renderAngular(
100
const envInjector = applicationRef.injector;
101
const routerIsProvided = !!envInjector.get(ActivatedRoute, null);
102
const router = envInjector.get(Router);
103
- const lastSuccessfulNavigation = router.lastSuccessfulNavigation;
+ const lastSuccessfulNavigation = router.lastSuccessfulNavigation();
104
105
if (!routerIsProvided) {
106
hasNavigationError = false;
0 commit comments