mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-26 00:01:37 +00:00
allow to cancel running jobs, even if a scheduled job
This commit is contained in:
@@ -167,7 +167,7 @@
|
||||
{@const stem = `/${job?.job_kind}s`}
|
||||
{@const isScript = job?.job_kind === 'script'}
|
||||
{@const viewHref = `${stem}/get/${isScript ? job?.script_hash : job?.script_path}`}
|
||||
{#if job?.type != 'CompletedJob' && !job?.schedule_path}
|
||||
{#if job?.type != 'CompletedJob' && (!job?.schedule_path || job?.['running'] == true)}
|
||||
{#if !forceCancel}
|
||||
<Button
|
||||
color="red"
|
||||
|
||||
Reference in New Issue
Block a user