1
0
mirror of synced 2025-12-20 10:28:40 -05:00

Revert "Revert "Fix homepage versions dropdown" (#20087)"

This reverts commit f9f0b2ce86.
This commit is contained in:
Sarah Schneider
2021-06-23 10:12:36 -04:00
committed by GitHub
parent 43b5cd39a7
commit 15e33f05e7
14 changed files with 16 additions and 58 deletions

View File

@@ -36,7 +36,7 @@ function getVersionStringFromPath (href) {
// Return immediately if this is a link to the homepage
if (href === '/') {
return 'homepage'
return nonEnterpriseDefaultVersion
}
// Get the first segment