We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 324f96f commit cd9e3c5Copy full SHA for cd9e3c5
assets/js/sidebar/sidebar-version-select.js
@@ -17,7 +17,7 @@ export function initialize () {
17
const currentVersion = versionsContainer.textContent.trim()
18
19
const latestVersionNode = versionNodes.find(node => node.latest)
20
- const latestVersion = latestVersionNode?.version !== currentVersion ? latestVersionNode?.version : null
+ const latestVersion = latestVersionNode?.version !== currentVersion ? latestVersionNode?.url : null
21
22
const nodes = decorateVersionNodes(versionNodes, currentVersion)
23
0 commit comments