small fix
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-04-23 08:50:54 +03:00
parent 5213e7b2e5
commit 2fc4deb9e7
2 changed files with 8 additions and 1 deletions

View File

@@ -62,7 +62,7 @@
<q-icon name="keyboard_arrow_right"/>
</div>
</q-btn>
<div class="text-white q-pt-md edge-block justify-start text-grey-2">
<div class="text-white q-pt-sm edge-block justify-start text-grey-2">
{{ $t('banner__main_btn_description')}}
</div>
</div>

View File

@@ -14,6 +14,9 @@
class="q-pa-md text-h4 cursor-pointer"
@click="router.push({ name: 'main' })"
/>
<div class="text-h5 text-bold">
{{ $t(getDoc(documentName)) }}
</div>
<markdown-viewver
v-if="documentName"
:locale
@@ -43,6 +46,10 @@
const router = useRouter()
const documentName = ref(null)
const getDoc = (fileName) => {
return docs.find(d => d.file === fileName)?.translationKey ?? ''
}
onMounted(() => {
const doc = docs.find(d => d.route === route.name)
if (doc) {