diff --git a/app/(protected)/capa-owner/page.tsx b/app/(protected)/capa-owner/page.tsx
index a11f263..fe0bff4 100644
--- a/app/(protected)/capa-owner/page.tsx
+++ b/app/(protected)/capa-owner/page.tsx
@@ -9,6 +9,7 @@ import { eq, asc } from 'drizzle-orm'
import { StatCard } from '@/components/dashboard/stat-card'
import { CapaOwnerActions } from '@/components/capa/capa-owner-actions'
import { CapaOwnerNotesForm } from '@/components/capa/capa-owner-notes-form'
+import { StatusTag } from '@/components/ui/status-tag'
const STATUS_LABELS: Record
{capa.dueDate ? `Due ${new Date(capa.dueDate).toLocaleDateString('en-MY')}` : 'No due date'}
{capa.description}
{capa.description}
- - {capa.priority} - +{inc.incidentType?.replace(/_/g, ' ')}
{inc.referenceNo ?? inc.id.slice(0, 8)}
{TYPE_LABELS[inc.incidentType] ?? inc.incidentType}
{c.description}
Due {c.due_date}
diff --git a/components/dashboard/risk-flags-panel.tsx b/components/dashboard/risk-flags-panel.tsx index 2189c7f..f5de2ec 100644 --- a/components/dashboard/risk-flags-panel.tsx +++ b/components/dashboard/risk-flags-panel.tsx @@ -11,9 +11,9 @@ type RiskFlag = { } const LEVEL_COLORS: Record{TYPE_LABELS[incident.incident_type] ?? incident.incident_type}