mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-09-07 00:16:11 -05:00
fix(homepage): faq renders out of range faq
This commit is contained in:
@@ -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<string>('faq.QAs') as string[]).value.length;
|
||||
const nOfQAs = computed(() => tm<string>('faq.QAs') as string[]).value.length - 1;
|
||||
const maxCoreStaffIndex = computed(() => tm<string>('credits.people') as string[]).value.length - 1;
|
||||
const maxContributorsIndex = computed(() => tm<string>('specialThanks.people') as string[]).value.length - 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user