Fix TypeScript index error in devices page

This commit is contained in:
ypratama committed 2026-08-27 15:37:08 +07:00
1 parent 0a991662b7
commit 20e38ffdb3
1 file changed
+1 -1
+1 -1
View File
@@ -126,7 +126,7 @@ export default function DevicesPage() {
header: "Agent",
accessor: (row) => (
<span className="text-xs text-slate-300">
{agentsMap[row.agent_uuid] || row.agent_uuid || "-"}
{row.agent_uuid ? (agentsMap[row.agent_uuid] || row.agent_uuid) : "-"}
</span>
),
className: "w-[12%]"