Revert "Revert "Fix homepage versions dropdown" (#20087)"
This reverts commit f9f0b2ce86.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user