fix: hide block self domain
parent
efc3c3b209
commit
5ad1d7e2a5
|
@ -72,16 +72,18 @@ const toggleBlockDomain = async () => {
|
||||||
Unblock @{{ account.acct }}
|
Unblock @{{ account.acct }}
|
||||||
</CommonDropdownItem>
|
</CommonDropdownItem>
|
||||||
|
|
||||||
<CommonDropdownItem
|
<template v-if="getServerName(account) !== currentServer">
|
||||||
v-if="!relationship?.domainBlocking"
|
<CommonDropdownItem
|
||||||
icon="i-ri:shut-down-line"
|
v-if="!relationship?.domainBlocking"
|
||||||
@click="toggleBlockDomain"
|
icon="i-ri:shut-down-line"
|
||||||
>
|
@click="toggleBlockDomain"
|
||||||
Block domain {{ getServerName(account) }}
|
>
|
||||||
</CommonDropdownItem>
|
Block domain {{ getServerName(account) }}
|
||||||
<CommonDropdownItem v-else icon="i-ri:restart-line" @click="toggleBlockDomain">
|
</CommonDropdownItem>
|
||||||
Unblock domain {{ getServerName(account) }}
|
<CommonDropdownItem v-else icon="i-ri:restart-line" @click="toggleBlockDomain">
|
||||||
</CommonDropdownItem>
|
Unblock domain {{ getServerName(account) }}
|
||||||
|
</CommonDropdownItem>
|
||||||
|
</template>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template v-else>
|
<template v-else>
|
||||||
|
|
Loading…
Reference in New Issue