mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-07 01:19:57 +00:00
parent
b3ff8a457d
commit
a6a825e553
3 changed files with 3 additions and 3 deletions
|
@ -8,7 +8,7 @@ const { account, command, context, ...props } = defineProps<{
|
|||
command?: boolean
|
||||
}>()
|
||||
|
||||
const isSelf = $computed(() => currentUser.value?.account.id === account.id)
|
||||
const isSelf = $(useSelfAccount(() => account))
|
||||
const enable = $computed(() => !isSelf && currentUser.value)
|
||||
const relationship = $computed(() => props.relationship || useRelationship(account).value)
|
||||
|
||||
|
|
|
@ -75,7 +75,7 @@ watchEffect(() => {
|
|||
iconFields.value = icons
|
||||
})
|
||||
|
||||
const isSelf = $computed(() => currentUser.value?.account.id === account.id)
|
||||
const isSelf = $(useSelfAccount(() => account))
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
|
|
@ -7,7 +7,7 @@ const { account } = defineProps<{
|
|||
}>()
|
||||
let relationship = $(useRelationship(account))
|
||||
|
||||
const isSelf = $computed(() => currentUser.value?.account.id === account.id)
|
||||
const isSelf = $(useSelfAccount(() => account))
|
||||
|
||||
const masto = useMasto()
|
||||
const toggleMute = async () => {
|
||||
|
|
Loading…
Reference in a new issue