Commit 195c67f
authored
fix(header): opt logo button out of Angular event replay (#1153)
* fix(header): opt logo button out of Angular event replay
Add jsaction="" to the header logo button so pre-hydration clicks are
not replayed by Angular's withEventReplay() after hydration. Without
this, a click during the SSR loading window could replay onto the logo's
routerLink="/", navigating the user to "/" before they interacted.
Also removes dead onLogoClick() — the template routes via routerLink
directly and never called the method.
Fixes LFXV2-2724.
Generated with [Claude Code](https://claude.ai/code)
Signed-off-by: Andres Tobon <andrest2455@gmail.com>
* style(header): apply prettier formatting to logo button
Reformatted multi-attribute button element to multi-line per
prettier config (line too long after jsaction="" was added).
Generated with [Claude Code](https://claude.ai/code)
Signed-off-by: Andres Tobon <andrest2455@gmail.com>
---------
Signed-off-by: Andres Tobon <andrest2455@gmail.com>1 parent 8092163 commit 195c67f
2 files changed
Lines changed: 6 additions & 5 deletions
File tree
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
| |||
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | 120 | | |
125 | 121 | | |
126 | 122 | | |
| |||
0 commit comments