mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-12 08:05:44 +00:00
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:
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user