fix: agent page actions ordered as the script and flow pages

The menu leads and Edit comes last, as DetailPageHeader lays them out.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
hugocasa
2026-09-30 13:49:27 +02:00
co-authored by Claude Opus 5.5
parent 91934b5ebd
commit 65b4b2772c
@@ -117,18 +117,6 @@
</ToggleButtonGroup>
{/if}
{#if config && !$userStore?.operator}
<!-- Evaluating an agent builds datasets and runs against it: authoring, as editing is. -->
{#if canEdit}
<Button
variant="default"
unifiedSize="md"
startIcon={{ icon: FlaskConical }}
title="Run this agent against a dataset of cases"
onClick={() => evalsModal?.openModal()}
>
Evals
</Button>
{/if}
<DropdownV2
placement="bottom-end"
size="md"
@@ -158,6 +146,18 @@
}
]}
/>
<!-- Evaluating an agent builds datasets and runs against it: authoring, as editing is. -->
{#if canEdit}
<Button
variant="default"
unifiedSize="md"
startIcon={{ icon: FlaskConical }}
title="Run this agent against a dataset of cases"
onClick={() => evalsModal?.openModal()}
>
Evals
</Button>
{/if}
{/if}
{#if canEdit}
<Button