fix: i18n missing translation key
This commit is contained in:
committed by
konrad
parent
c7e708cf7d
commit
cbbc4c0372
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user