diff --git a/components/account/AccountHeader.vue b/components/account/AccountHeader.vue index 25d76aec..b33a8834 100644 --- a/components/account/AccountHeader.vue +++ b/components/account/AccountHeader.vue @@ -46,19 +46,19 @@ const createdAt = $computed(() => {
-
+
-

+

Joined

-

+

{{ createdAt }}

-

+

{{ field.name }}

diff --git a/components/status/StatusCard.vue b/components/status/StatusCard.vue index 894f7479..6686c25c 100644 --- a/components/status/StatusCard.vue +++ b/components/status/StatusCard.vue @@ -24,8 +24,8 @@ const router = useRouter() function go(e: MouseEvent) { const path = e.composedPath() as HTMLElement[] - const el = path.find(el => ['A', 'BUTTON', 'P', 'IMG', 'VIDEO'].includes(el.tagName?.toUpperCase())) - if (!el || el.tagName.toUpperCase() === 'P') + const el = path.find(el => ['A', 'BUTTON', 'IMG', 'VIDEO'].includes(el.tagName?.toUpperCase())) + if (!el) router.push(`/@${status.account.acct}/${status.id}`) } @@ -63,7 +63,7 @@ const timeago = useTimeAgo(() => status.createdAt, {