mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-20 07:49:57 +00:00
fix: hide mention when not loginned
This commit is contained in:
parent
2004445e81
commit
ef0173a356
1 changed files with 32 additions and 31 deletions
|
@ -198,6 +198,7 @@ function editStatus() {
|
||||||
</template>
|
</template>
|
||||||
</CommonDropdownItem>
|
</CommonDropdownItem>
|
||||||
|
|
||||||
|
<template v-if="currentUser">
|
||||||
<template v-if="isAuthor">
|
<template v-if="isAuthor">
|
||||||
<CommonDropdownItem
|
<CommonDropdownItem
|
||||||
icon="i-ri:pushpin-line"
|
icon="i-ri:pushpin-line"
|
||||||
|
@ -224,7 +225,6 @@ function editStatus() {
|
||||||
Delete & re-draft
|
Delete & re-draft
|
||||||
</CommonDropdownItem>
|
</CommonDropdownItem>
|
||||||
</template>
|
</template>
|
||||||
<!-- TODO not available when not the same server -->
|
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<CommonDropdownItem
|
<CommonDropdownItem
|
||||||
icon="i-ri:at-line"
|
icon="i-ri:at-line"
|
||||||
|
@ -233,6 +233,7 @@ function editStatus() {
|
||||||
Mention @{{ status.account.acct }}
|
Mention @{{ status.account.acct }}
|
||||||
</CommonDropdownItem>
|
</CommonDropdownItem>
|
||||||
</template>
|
</template>
|
||||||
|
</template>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</CommonDropdown>
|
</CommonDropdown>
|
||||||
|
|
Loading…
Reference in a new issue