mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-07 00:01:49 +00:00
fix test flow cancel
This commit is contained in:
@@ -190,6 +190,7 @@
|
||||
size="sm"
|
||||
btnClasses="w-full max-w-lg"
|
||||
loading={true}
|
||||
clickableWhileLoading
|
||||
>
|
||||
Cancel
|
||||
</Button>
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
export let target: '_self' | '_blank' | undefined = undefined
|
||||
export let iconOnly: boolean = false
|
||||
|
||||
export let clickableWhileLoading = false
|
||||
|
||||
export let element: ButtonType.Element | undefined = undefined
|
||||
export let id: string = ''
|
||||
export let nonCaptureEvent: boolean = false
|
||||
@@ -190,7 +192,7 @@
|
||||
tabindex={disabled ? -1 : 0}
|
||||
{title}
|
||||
{...$$restProps}
|
||||
disabled={disabled || loading}
|
||||
disabled={disabled || (loading && !clickableWhileLoading)}
|
||||
{style}
|
||||
>
|
||||
{#if loading}
|
||||
|
||||
Reference in New Issue
Block a user