Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-17 02:07:12 +00:00
co-authored by renee-png
parent e158862ca5
commit 5aa748c12c
+3 -2
View File
@@ -6,11 +6,12 @@ import { Label } from "@/components/ui/label";
import { Textarea } from "@/components/ui/textarea";
import { supabase } from "@/integrations/supabase/client";
import { useAuth } from "@/lib/auth";
import { Plus, Trash2, Loader2 } from "lucide-react";
import { Plus, Trash2, Loader2, FileDown } from "lucide-react";
import { formatDateTime } from "@/lib/format";
import { toast } from "sonner";
import { downloadStatusReport } from "@/lib/status-pdf";
export function CaseStatusTab({ caseId }: { caseId: string }) {
export function CaseStatusTab({ caseId, caseLabel }: { caseId: string; caseLabel?: string }) {
const { user, isAdmin } = useAuth();
const [items, setItems] = useState<any[]>([]);
const [showForm, setShowForm] = useState(false);