fix: hide block self domain

This commit is contained in:
三咲智子 2022-11-29 09:21:03 +08:00
parent efc3c3b209
commit 5ad1d7e2a5
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E

View file

@ -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">