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

Revert "Fix homepage versions dropdown" (#20087)

This commit is contained in:
Matt Pollard
2021-06-23 09:11:51 +02:00
committed by GitHub
parent 7aa96e48b8
commit f9f0b2ce86
14 changed files with 58 additions and 16 deletions

View File

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