diff --git a/components/account/AccountHeader.vue b/components/account/AccountHeader.vue index 6ec29559..436fb0bb 100644 --- a/components/account/AccountHeader.vue +++ b/components/account/AccountHeader.vue @@ -60,7 +60,7 @@ watchEffect(() => { iconFields.value = icons }) -const isSelf = $computed(() => checkUser(currentUser.value) && currentUser.value?.account.id === account.id) +const isSelf = $computed(() => checkUser(currentUser.value) && currentUser.value.account.id === account.id)