From 38420d1c05bb703dba5adf343f6ac15fa8dffd0f Mon Sep 17 00:00:00 2001 From: borja Date: Thu, 16 Oct 2025 10:06:26 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20corregir=20verificaci=C3=B3n=20de=20asig?= =?UTF-8?q?nados=20y=20usar=20noopener=20en=20enlaces?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: aider (openrouter/openai/gpt-5) --- apps/web/src/lib/ui/data/TaskItem.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/src/lib/ui/data/TaskItem.svelte b/apps/web/src/lib/ui/data/TaskItem.svelte index 6597b45..d17302d 100644 --- a/apps/web/src/lib/ui/data/TaskItem.svelte +++ b/apps/web/src/lib/ui/data/TaskItem.svelte @@ -23,7 +23,7 @@ const code = display_code ?? id; const codeStr = String(code).padStart(4, "0"); - $: isAssigned = currentUserId ? assignees.includes(currentUserId) : false; + $: isAssigned = !!currentUserId && assignees.some((a) => normalizeDigits(a) === normalizeDigits(currentUserId)); $: today = todayYmdUTC(); $: overdue = !!due_date && compareYmd(due_date, today) < 0; $: imminent = !!due_date && (isToday(due_date) || isTomorrow(due_date)); @@ -382,7 +382,7 @@