1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-27 14:28:10 +09:00

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 account = isSelf ? computed(() => status.account) : useAccountById(status.inReplyToAccountId)
const account = isSelf.value ? computed(() => status.account) : useAccountById(status.inReplyToAccountId)
</script>
<template>