mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-19 08:03:16 +00:00
fix: make workspace error handler picker accept any script
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
export let allowFlow = false
|
||||
export let allowHub = false
|
||||
export let itemKind: 'hub' | 'script' | 'flow' = allowHub ? 'hub' : 'script'
|
||||
export let kind: Script.kind = Script.kind.SCRIPT
|
||||
export let kind: Script.kind | undefined = Script.kind.SCRIPT
|
||||
export let disabled = false
|
||||
export let allowRefresh = false
|
||||
|
||||
|
||||
@@ -588,7 +588,7 @@
|
||||
{:else if tab == 'error_handler'}
|
||||
<PageHeader title="Script to run as error handler" primary={false} />
|
||||
<ScriptPicker
|
||||
kind={Script.kind.SCRIPT}
|
||||
kind={undefined}
|
||||
bind:itemKind={errorHandlerItemKind}
|
||||
bind:scriptPath={errorHandlerScriptPath}
|
||||
initialPath={errorHandlerInitialPath}
|
||||
|
||||
Reference in New Issue
Block a user