From de6f9e014b259903434f1ee37751956acdf93ccf Mon Sep 17 00:00:00 2001 From: Henri Pietila Date: Tue, 17 Sep 2024 08:22:19 -0700 Subject: [PATCH] fix(sidebar): always show latest version by default TDX-4310 (#554) Co-authored-by: henri pietila <15886900+HenriPro@users.noreply.github.com> --- src/views/ProductShell.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/ProductShell.vue b/src/views/ProductShell.vue index 3e527b0e..bdc5c294 100644 --- a/src/views/ProductShell.vue +++ b/src/views/ProductShell.vue @@ -158,7 +158,7 @@ function initActiveProductVersionId () { } if (!activeProductVersionId.value) { - productStore.setActiveProductVersionId(versions[0]?.id) + productStore.setActiveProductVersionId(versions[versions.length - 1]?.id) } }