fix(web/ui): restore nav-item anchor styling for live session items

This commit is contained in:
Developer
2026-06-17 09:47:37 +00:00
parent 85627793b4
commit ab93863ea9
+9 -4
View File
@@ -43,10 +43,15 @@ const SessionItem = ({ session }: { session: Session }) => {
if (contextName) tooltipParts.push(contextName);
tooltipParts.push(`(${session.status})`);
const handleClick = (event: React.MouseEvent) => {
event.preventDefault();
openSession(session);
};
return (
<button
type="button"
onClick={() => openSession(session)}
<a
href="#"
onClick={handleClick}
className="nav-item session-item"
title={tooltipParts.join(" · ")}
>
@@ -63,7 +68,7 @@ const SessionItem = ({ session }: { session: Session }) => {
{session.tool_type_name} · {session.project_name}
</span>
</span>
</button>
</a>
);
};