fix: hide block self domain
This commit is contained in:
parent
efc3c3b209
commit
5ad1d7e2a5
|
@ -72,6 +72,7 @@ const toggleBlockDomain = async () => {
|
||||||
Unblock @{{ account.acct }}
|
Unblock @{{ account.acct }}
|
||||||
</CommonDropdownItem>
|
</CommonDropdownItem>
|
||||||
|
|
||||||
|
<template v-if="getServerName(account) !== currentServer">
|
||||||
<CommonDropdownItem
|
<CommonDropdownItem
|
||||||
v-if="!relationship?.domainBlocking"
|
v-if="!relationship?.domainBlocking"
|
||||||
icon="i-ri:shut-down-line"
|
icon="i-ri:shut-down-line"
|
||||||
|
@ -83,6 +84,7 @@ const toggleBlockDomain = async () => {
|
||||||
Unblock domain {{ getServerName(account) }}
|
Unblock domain {{ getServerName(account) }}
|
||||||
</CommonDropdownItem>
|
</CommonDropdownItem>
|
||||||
</template>
|
</template>
|
||||||
|
</template>
|
||||||
|
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<NuxtLink to="/pinned">
|
<NuxtLink to="/pinned">
|
||||||
|
|
Loading…
Reference in a new issue