1
0
Fork 0

Fix the 'thread' badge being jumpy

This commit is contained in:
Lim Chee Aun 2022-12-22 12:14:01 +08:00
parent 90f1a9e529
commit 9d8286234f

View file

@ -271,7 +271,7 @@ function Status({
</span>
))}
</div>
{inReplyToAccount && !withinContext && size !== 's' && (
{inReplyToAccountId && !withinContext && size !== 's' && (
<div
class={`status-${
inReplyToAccountId === status.account.id ? 'thread' : 'reply'
@ -283,10 +283,12 @@ function Status({
Thread
</>
) : (
<>
<Icon icon="reply" />{' '}
<NameText account={inReplyToAccount} short />
</>
!!inReplyToAccount && (
<>
<Icon icon="reply" />{' '}
<NameText account={inReplyToAccount} short />
</>
)
)}
</div>
)}