diff --git a/src/components/misc/no-auth-wrapper.vue b/src/components/misc/no-auth-wrapper.vue index f42cdfece..e03db0521 100644 --- a/src/components/misc/no-auth-wrapper.vue +++ b/src/components/misc/no-auth-wrapper.vue @@ -41,8 +41,8 @@ const store = useStore() const {t} = useI18n() const motd = computed(() => store.state.config.motd) -// @ts-ignore -const title = computed(() => t(route.meta.title ?? '')) + +const title = computed(() => t(route.meta?.title as string || '')) useTitle(() => title.value)