Show muted/blocked tags on account info

pull/173/head
Lim Chee Aun 2023-06-27 22:02:10 +08:00
rodzic 730fba7ad9
commit 33720d9694
1 zmienionych plików z 16 dodań i 12 usunięć

Wyświetl plik

@ -524,18 +524,22 @@ function RelatedActions({ info, instance, authenticated }) {
</div>
</div>
<p class="actions">
{followedBy ? (
<span class="tag">Following you</span>
) : !!lastStatusAt ? (
<small class="insignificant">
Last post:{' '}
{niceDateTime(lastStatusAt, {
hideTime: true,
})}
</small>
) : (
<span />
)}{' '}
<span>
{followedBy ? (
<span class="tag">Following you</span>
) : !!lastStatusAt ? (
<small class="insignificant">
Last post:{' '}
{niceDateTime(lastStatusAt, {
hideTime: true,
})}
</small>
) : (
<span />
)}
{muting && <span class="tag danger">Muted</span>}
{blocking && <span class="tag danger">Blocked</span>}
</span>{' '}
<span class="buttons">
<Menu
instanceRef={menuInstanceRef}