File tree 2 files changed +5
-1
lines changed
src/lib/output/themes/default/partials
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ title: Changelog
14
14
- ` @include ` and ` @includeCode ` now work for comments on the entry point for projects with a single entry point, #2800 .
15
15
- Cascaded modifier tags will no longer be copied into type literals, #2802 .
16
16
- ` @summary ` now works to describe functions within modules, #2803 .
17
+ - Corrected navigation showing module link as current when not on module page, #2805 .
17
18
18
19
## v0.27.3 (2024-12-04)
19
20
Original file line number Diff line number Diff line change @@ -125,7 +125,10 @@ export function settings(context: DefaultThemeRenderContext) {
125
125
export const navigation = function navigation ( context : DefaultThemeRenderContext , props : PageEvent < Reflection > ) {
126
126
return (
127
127
< nav class = "tsd-navigation" >
128
- < a href = { context . urlTo ( props . project ) } class = { classNames ( { current : props . project === props . model } ) } >
128
+ < a
129
+ href = { context . urlTo ( props . project ) }
130
+ class = { classNames ( { current : props . url === props . model . url && props . model . isProject ( ) } ) }
131
+ >
129
132
{ getDisplayName ( props . project ) }
130
133
</ a >
131
134
< ul class = "tsd-small-nested-navigation" id = "tsd-nav-container" >
You can’t perform that action at this time.
0 commit comments