Files
whatsapp-inbox-platform/app/agent/inbox/resolved/page.tsx
Wira Basalamah adde003fba
Some checks failed
CI - Production Readiness / Verify (push) Has been cancelled
chore: initial project import
2026-04-21 09:29:29 +07:00

18 lines
646 B
TypeScript

import { ShellPage } from "@/components/page-templates";
import { TablePlaceholder } from "@/components/placeholders";
import { getAgentResolvedHistory } from "@/lib/inbox-ops";
export default async function AgentResolvedPage() {
const rows = await getAgentResolvedHistory();
return (
<ShellPage shell="agent" title="Resolved History" description="Riwayat conversation yang sudah selesai ditangani.">
<TablePlaceholder
title="Resolved"
columns={["Conversation", "Resolved at", "Last action"]}
rows={rows.map((item) => [item.contactName, item.resolvedAt, item.lastAction])}
/>
</ShellPage>
);
}