fix: hide mention when not loginned

zio/stable
三咲智子 2022-11-29 01:37:50 +08:00
parent 2004445e81
commit ef0173a356
No known key found for this signature in database
GPG Key ID: 69992F2250DFD93E
1 changed files with 32 additions and 31 deletions

View File

@ -198,6 +198,7 @@ function editStatus() {
</template>
</CommonDropdownItem>
<template v-if="currentUser">
<template v-if="isAuthor">
<CommonDropdownItem
icon="i-ri:pushpin-line"
@ -224,7 +225,6 @@ function editStatus() {
Delete & re-draft
</CommonDropdownItem>
</template>
<!-- TODO not available when not the same server -->
<template v-else>
<CommonDropdownItem
icon="i-ri:at-line"
@ -233,6 +233,7 @@ function editStatus() {
Mention @{{ status.account.acct }}
</CommonDropdownItem>
</template>
</template>
</div>
</template>
</CommonDropdown>