From 06a848a7669e3b12a91e82ce052babd300829a3c Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Fri, 24 Apr 2026 03:35:51 +0000 Subject: [PATCH] Changes Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com> --- src/routes/inbox.index.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/routes/inbox.index.tsx b/src/routes/inbox.index.tsx index ef44246..8cd547e 100644 --- a/src/routes/inbox.index.tsx +++ b/src/routes/inbox.index.tsx @@ -7,7 +7,8 @@ import { Button } from "@/components/ui/button"; import { Card, CardContent } from "@/components/ui/card"; import { Badge } from "@/components/ui/badge"; import { Input } from "@/components/ui/input"; -import { Loader2, Inbox as InboxIcon, RefreshCcw, Search, Mail, MailOpen, Archive, ArchiveRestore, Trash2 } from "lucide-react"; +import { Loader2, Inbox as InboxIcon, RefreshCcw, Search, Mail, MailOpen, Archive, ArchiveRestore, Trash2, Link2 } from "lucide-react"; +import { Link } from "@tanstack/react-router"; import { toast } from "sonner"; import { useAuth } from "@/lib/auth"; @@ -48,7 +49,7 @@ function InboxPage() { setLoading(true); let query = supabase .from("incoming_emails") - .select("id, received_at, from_address, from_name, to_addresses, subject, snippet, body_text, body_html, is_read, is_archived, has_attachments, attachment_count") + .select("id, received_at, from_address, from_name, to_addresses, subject, snippet, body_text, body_html, is_read, is_archived, has_attachments, attachment_count, case_id, match_status, match_suggestions, matched_case:cases(id, case_number, title)") .order("received_at", { ascending: false }) .limit(200); query = showArchived ? query.eq("is_archived", true) : query.eq("is_archived", false);