fix: fix [object Object] on the mentions tab (#2611)

This commit is contained in:
TAKAHASHI Shuuji 2024-02-24 23:18:13 +09:00 committed by GitHub
parent 36004a7eba
commit 082650d458
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,7 +15,7 @@ const filter = computed<mastodon.v1.NotificationType | undefined>(() => {
})
useHydratedHead({
title: () => `${t(`tab.notifications_${filter ?? 'all'}`)} | ${t('nav.notifications')}`,
title: () => `${t(`tab.notifications_${filter.value ?? 'all'}`)} | ${t('nav.notifications')}`,
})
</script>