{sessionBuckets.map((bucket) => (
bucket.sessions.length > 0 ? (
{bucket.label}
{bucket.sessions.map((s) => {
const agentId = getAgentIdFromSessionKey(s.key);
const agentName = agentNameById[agentId] || agentId;
return (
);
})}
) : null
))}
)}
{/* Footer */}