Skip to content

Commit 0c39e7a

Browse files
committed
fix(webapp): run inspector Watch button goes primary, matching Investigate
1 parent 6c8e5ef commit 0c39e7a

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

  • apps/webapp/app/routes/resources.orgs.$organizationSlug.projects.$projectParam.env.$envParam.runs.$runParam.spans.$spanParam

apps/webapp/app/routes/resources.orgs.$organizationSlug.projects.$projectParam.env.$envParam.runs.$runParam.spans.$spanParam/route.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1154,7 +1154,13 @@ function RunBody({
11541154
recommendation: tell me when it finishes. Only while the run can
11551155
still change — a finished run has nothing left to wait for. */}
11561156
{isFinalRunStatus(run.status) ? null : (
1157-
<WatchButton spec={runWatchRecommendation(run.friendlyId)} className="self-start" />
1157+
<WatchButton
1158+
spec={runWatchRecommendation(run.friendlyId)}
1159+
// Primary here: on a live run it's the page's one agent action,
1160+
// dressed like Investigate is on a failed one.
1161+
variant="primary"
1162+
className="self-start"
1163+
/>
11581164
)}
11591165
<RunTimeline run={run} />
11601166

0 commit comments

Comments
 (0)