fix: hide follow button when not loginned
parent
d2c4d62cf5
commit
2004445e81
|
@ -22,7 +22,7 @@ async function toggleFollow() {
|
|||
|
||||
<template>
|
||||
<button
|
||||
v-if="!isSelf"
|
||||
v-if="!isSelf && currentUser"
|
||||
flex gap-1 items-center h-fit rounded hover="op100 text-white b-orange" group
|
||||
@click="toggleFollow"
|
||||
>
|
||||
|
|
|
@ -49,6 +49,7 @@ const toggleBlockDomain = async () => {
|
|||
</CommonDropdownItem>
|
||||
</NuxtLink>
|
||||
|
||||
<template v-if="currentUser">
|
||||
<template v-if="!isSelf">
|
||||
<CommonDropdownItem icon="i-ri:at-line" @click="mentionUser(account)">
|
||||
Mention @{{ account.acct }}
|
||||
|
@ -111,5 +112,6 @@ const toggleBlockDomain = async () => {
|
|||
</NuxtLink>
|
||||
</template>
|
||||
</template>
|
||||
</template>
|
||||
</CommonDropdown>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue