Commit fa9c688
authored
edit: tutorial/address-book Active Link Styling in sidebar (#12968)
* tutorial/address-book: edit Active Link Styling in sidebar
After returning from the contacts/:contactId/edit page to contacts/:contactId page active link styling will disappear for the contact that has first name and middle name like "Kent C. + Doods" because the URL will be /contacts/kent c.-doods or /contacts/%20c.-doods.
So, in the /app/data.ts in the last line where ids are added for every contact created I fixed this small issue with the split and join methods on the contact.id so the sidebar NavLink styling is corrected.
* Update contributors.yml majamarijan added
* Update contributors.yml edit majamarijan1 parent 773cf87 commit fa9c688
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| 198 | + | |
198 | 199 | | |
199 | 200 | | |
200 | 201 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
| 314 | + | |
315 | 315 | | |
316 | 316 | | |
0 commit comments