From 91cc2d15ceb15c3774dc2f36da971e986a6f730c Mon Sep 17 00:00:00 2001 From: "limes.pink" Date: Tue, 15 Apr 2025 18:54:51 +0200 Subject: [PATCH] fix(homepage): faq renders out of range faq --- src/pages/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/index.vue b/src/pages/index.vue index ccda1ee..13c66cc 100644 --- a/src/pages/index.vue +++ b/src/pages/index.vue @@ -2,7 +2,7 @@ /* eslint-disable vue/no-v-html -- we might wanna avoid this by rewriting the locales to use variables */ const { te, t, tm } = useI18n(); -const nOfQAs = computed(() => tm('faq.QAs') as string[]).value.length; +const nOfQAs = computed(() => tm('faq.QAs') as string[]).value.length - 1; const maxCoreStaffIndex = computed(() => tm('credits.people') as string[]).value.length - 1; const maxContributorsIndex = computed(() => tm('specialThanks.people') as string[]).value.length - 1;