From 48727db0107a0bebe3fa5c45c28dc2aeaa143ca2 Mon Sep 17 00:00:00 2001 From: Brennan Kinney <5098581+polarathene@users.noreply.github.com> Date: Mon, 8 Mar 2021 11:34:52 +1300 Subject: [PATCH] fix: Version selector should be consistent with drop-down Use the presentational `title` value like the drop-down does; not the `version` value used to match the URL (version subdirectory). --- src/assets/javascripts/templates/version/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/assets/javascripts/templates/version/index.tsx b/src/assets/javascripts/templates/version/index.tsx index 6e5ec7fd4..408c27558 100644 --- a/src/assets/javascripts/templates/version/index.tsx +++ b/src/assets/javascripts/templates/version/index.tsx @@ -61,7 +61,7 @@ export function renderVersionSelector(versions: Version[]): HTMLElement { return (
- {active.version} + {active.title}