Commit 621ddf7
fix(schematics): navigation schematic not respecting breakpoints on initial render (#16788)
a6cdcfc added the `share()` operator to the
`isHandset$` observable. This accidentally broke the initial rendering of the navigation as the view subscribes
to the observable (through `async` pipe) after the initial value has been emitted. Meaning that `isHandset$ | async`
expression always evaluates to `null` until the breakpoint changes.
(cherry picked from commit 3205b31)1 parent a9d8f8c commit 621ddf7
1 file changed
Lines changed: 2 additions & 2 deletions
File tree
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments