fix(communications): move source settings gear to contact row

This commit is contained in:
Ruslan Bakiev
2026-02-23 12:30:26 +07:00
parent acd974766a
commit f076726362

View File

@@ -14,7 +14,6 @@ defineProps<{
markAvatarBroken: (threadId: string) => void;
contactInitials: (contactName: string) => string;
formatThreadTime: (iso: string) => string;
threadChannelLabel: (thread: any) => string;
threadInboxes: (thread: any) => any[];
setInboxHidden: (inboxId: string, hidden: boolean) => void;
formatInboxLabel: (inbox: any) => string;
@@ -131,13 +130,10 @@ function onSearchInput(event: Event) {
</div>
<div class="min-w-0 flex-1">
<div class="flex items-start justify-between gap-2">
<p class="truncate text-xs font-semibold">{{ thread.contact }}</p>
<div class="flex items-center gap-1.5">
<p class="min-w-0 flex-1 truncate text-xs font-semibold">{{ thread.contact }}</p>
<span class="shrink-0 text-[10px] text-base-content/55">{{ formatThreadTime(thread.lastAt) }}</span>
</div>
<div class="mt-0.5 flex items-center justify-between gap-2">
<p class="min-w-0 flex-1 truncate text-[11px] text-base-content/75">{{ threadChannelLabel(thread) }}</p>
<div class="dropdown dropdown-end" @click.stop>
<div class="dropdown dropdown-end shrink-0" @click.stop>
<button
tabindex="0"
class="btn btn-ghost btn-xs btn-square h-5 min-h-5"