diff --git a/src/app/(dashboard)/devices/page.tsx b/src/app/(dashboard)/devices/page.tsx index f1e123a..fcdb805 100644 --- a/src/app/(dashboard)/devices/page.tsx +++ b/src/app/(dashboard)/devices/page.tsx @@ -126,7 +126,7 @@ export default function DevicesPage() { header: "Agent", accessor: (row) => ( - {agentsMap[row.agent_uuid] || row.agent_uuid || "-"} + {row.agent_uuid ? (agentsMap[row.agent_uuid] || row.agent_uuid) : "-"} ), className: "w-[12%]"