forked from AkkomaGang/akkoma-fe
Refactor reply tab disabling
This commit is contained in:
parent
d01e1e16b0
commit
8c70bb4301
1 changed files with 9 additions and 2 deletions
|
@ -79,7 +79,15 @@
|
|||
:in-profile="true"
|
||||
:footer-slipgate="footerRef"
|
||||
/>
|
||||
<div
|
||||
v-if="!currentUser"
|
||||
key="replies-disabled"
|
||||
:label="$t('user_card.replies')"
|
||||
:title="$t('user_card.replies')"
|
||||
:disabled="!currentUser"
|
||||
/>
|
||||
<Timeline
|
||||
v-else-if="currentUser"
|
||||
key="replies"
|
||||
:label="$t('user_card.replies')"
|
||||
:count="user.statuses_count"
|
||||
|
@ -90,7 +98,6 @@
|
|||
:user-id="userId"
|
||||
:in-profile="true"
|
||||
:footer-slipgate="footerRef"
|
||||
:disabled="!currentUser"
|
||||
/>
|
||||
<div
|
||||
v-if="followsTabVisible"
|
||||
|
@ -120,6 +127,7 @@
|
|||
</FollowerList>
|
||||
</div>
|
||||
<Timeline
|
||||
v-if="currentUser"
|
||||
key="media"
|
||||
:label="$t('user_card.media')"
|
||||
:embedded="true"
|
||||
|
@ -129,7 +137,6 @@
|
|||
:user-id="userId"
|
||||
:in-profile="true"
|
||||
:footer-slipgate="footerRef"
|
||||
:disabled="!currentUser"
|
||||
/>
|
||||
<Timeline
|
||||
v-if="isUs"
|
||||
|
|
Loading…
Reference in a new issue