fix: recipient click

Signed-off-by: Sebastian <krupinski01@gmail.com>
This commit is contained in:
2026-05-26 23:17:03 -04:00
parent 9a98042fa0
commit 3a3cf77da1
3 changed files with 23 additions and 6 deletions

View File

@@ -210,6 +210,15 @@ const handleFlag = (flag: string, value: boolean) => {
}
}
const handleRecipientClick = (message: EntityObject) => {
if (props.selectionMode) {
emit('selectionToggleOne', message)
return
}
emit('open', message)
}
onBeforeUnmount(() => {
clearLongPressTimer()
@@ -364,7 +373,10 @@ onBeforeUnmount(() => {
<v-list-item-title class="d-flex align-center">
<span class="flex-grow-1 text-truncate">
<RecipientDetails :address="message.properties.from">
<RecipientDetails
:address="message.properties.from"
@clicked="handleRecipientClick(message)"
>
<template #default="{ label }">
<span class="message-person-link text-truncate">{{ label }}</span>
</template>