Restrict event export actions to Debug sub-tab

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Bryan Helmkamp 2026-05-24 11:50:41 -04:00
parent 6544e2c589
commit f59a39db0e
No known key found for this signature in database

View file

@ -1416,12 +1416,9 @@ function EventsToolbar({
<span className="font-mono">{modelUsageLabel}</span>
</HoverCard>
)}
<EventExportActions
events={events}
runId={runId}
stageId={stageId}
className={!showFilters && !modelUsageLabel ? "ml-auto" : ""}
/>
{tab === "debug" && (
<EventExportActions events={events} runId={runId} stageId={stageId} />
)}
{tab === "primary" && renderer === "command" && commandTurn && (
<CommandStatus turn={commandTurn} />
)}