mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-22 09:25:24 +03:00
fix: hide block self domain
This commit is contained in:
parent
efc3c3b209
commit
5ad1d7e2a5
1 changed files with 12 additions and 10 deletions
|
@ -72,6 +72,7 @@ const toggleBlockDomain = async () => {
|
|||
Unblock @{{ account.acct }}
|
||||
</CommonDropdownItem>
|
||||
|
||||
<template v-if="getServerName(account) !== currentServer">
|
||||
<CommonDropdownItem
|
||||
v-if="!relationship?.domainBlocking"
|
||||
icon="i-ri:shut-down-line"
|
||||
|
@ -83,6 +84,7 @@ const toggleBlockDomain = async () => {
|
|||
Unblock domain {{ getServerName(account) }}
|
||||
</CommonDropdownItem>
|
||||
</template>
|
||||
</template>
|
||||
|
||||
<template v-else>
|
||||
<NuxtLink to="/pinned">
|
||||
|
|
Loading…
Reference in a new issue