docs: fix typo on router guide (#34911)

closes #34907
PR Close #34911
This commit is contained in:
Aravind 2020-01-22 13:10:25 -08:00 committed by Andrew Kushnir
parent f49b45832c
commit 1be5b69174
1 changed files with 1 additions and 1 deletions

View File

@ -3597,7 +3597,7 @@ of its values. You use the `take` operator with an argument of `1` to ensure tha
Observable completes after retrieving the first value from the Observable returned by the
`getCrisis` method.
If it doesn't return a valid `Crisis`, return an empty `Observable`, canceling the previous in-flight navigation to the `CrisisDetailComponent` and navigate the user back to the `CrisisListComponent`. The update resolver service looks like this:
If it doesn't return a valid `Crisis`, return an empty `Observable`, canceling the previous in-flight navigation to the `CrisisDetailComponent` and navigate the user back to the `CrisisListComponent`. The updated resolver service looks like this:
<code-example path="router/src/app/crisis-center/crisis-detail-resolver.service.ts" header="src/app/crisis-center/crisis-detail-resolver.service.ts"></code-example>