Show muted/blocked tags on account info

This commit is contained in:
Lim Chee Aun 2023-06-27 22:02:10 +08:00
parent 730fba7ad9
commit 33720d9694

View file

@ -524,6 +524,7 @@ function RelatedActions({ info, instance, authenticated }) {
</div>
</div>
<p class="actions">
<span>
{followedBy ? (
<span class="tag">Following you</span>
) : !!lastStatusAt ? (
@ -535,7 +536,10 @@ function RelatedActions({ info, instance, authenticated }) {
</small>
) : (
<span />
)}{' '}
)}
{muting && <span class="tag danger">Muted</span>}
{blocking && <span class="tag danger">Blocked</span>}
</span>{' '}
<span class="buttons">
<Menu
instanceRef={menuInstanceRef}