fix: explain why the run page edit entry is disabled

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Guilhem Lemouel
2026-08-13 10:04:41 +02:00
co-authored by Claude Opus 5
parent be9d09ce95
commit 8213774fa8
@@ -577,6 +577,9 @@
icon: Pen,
href: `/${kind}s/edit/${path}?workspace=${$workspaceStore}`,
disabled: !showEditButton,
// Only while disabled: an enabled item renders this as an ⓘ next to the label,
// which would be noise on an entry that needs no explanation.
tooltip: showEditButton ? undefined : 'Direct edits are disabled in this workspace',
onClick: () => {
$initialArgsStore = job?.args
}