fix: show correct reply target user account in reply post header (#2640)

This commit is contained in:
TAKAHASHI Shuuji 2024-03-01 05:55:46 +09:00 committed by GitHub
parent efec212a9f
commit 95e466146d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,7 +10,7 @@ const {
}>() }>()
const isSelf = computed(() => status.inReplyToAccountId === status.account.id) const isSelf = computed(() => status.inReplyToAccountId === status.account.id)
const account = isSelf ? computed(() => status.account) : useAccountById(status.inReplyToAccountId) const account = isSelf.value ? computed(() => status.account) : useAccountById(status.inReplyToAccountId)
</script> </script>
<template> <template>