fix: i18n missing translation key

This commit is contained in:
Dominik Pschenitschni
2025-01-19 20:50:00 +01:00
committed by konrad
parent c7e708cf7d
commit cbbc4c0372

View File

@@ -63,7 +63,7 @@ const motd = computed(() => configStore.motd)
const route = useRoute()
const {t} = useI18n({useScope: 'global'})
const title = computed(() => t(route.meta?.title as string || ''))
const title = computed(() => route.meta?.title ? t(route.meta.title as string) : '')
useTitle(() => title.value)
</script>