Commit ba8ba66
fix: Correct version selector to show current version as selected
Fix version selector dropdown to properly select the currently displayed
version by comparing version objects instead of comparing version name
with current_version string.
Changed comparison from `item.name == current_version` to
`item == current_version` to properly match the current version object.
Now:
- v3.12.2 page shows v3.12.2 as selected
- master page shows master as selected
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 4bb3a7b commit ba8ba66
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments