diff --git a/packages/views/autopilots/components/autopilot-detail-page.tsx b/packages/views/autopilots/components/autopilot-detail-page.tsx
index da1ec1164..23c45bbea 100644
--- a/packages/views/autopilots/components/autopilot-detail-page.tsx
+++ b/packages/views/autopilots/components/autopilot-detail-page.tsx
@@ -63,16 +63,14 @@ function RunRow({ run }: { run: AutopilotRun }) {
const cfg = (RUN_STATUS_CONFIG[run.status] ?? RUN_STATUS_CONFIG["issue_created"])!;
const StatusIcon = cfg.icon;
- return (
-
+ const content = (
+ <>
{cfg.label}
{run.source}
{run.issue_id ? (
-
- Issue linked
-
+ "Issue linked"
) : run.failure_reason ? (
{run.failure_reason}
) : null}
@@ -80,8 +78,20 @@ function RunRow({ run }: { run: AutopilotRun }) {
{formatDate(run.triggered_at || run.created_at)}
-
+ >
);
+
+ const rowClass = "flex items-center gap-3 px-4 py-2.5 text-sm hover:bg-accent/30 transition-colors";
+
+ if (run.issue_id) {
+ return (
+
+ {content}
+
+ );
+ }
+
+ return {content}
;
}
function TriggerRow({ trigger, autopilotId }: { trigger: AutopilotTrigger; autopilotId: string }) {