fix: make workspace error handler picker accept any script

This commit is contained in:
Ruben Fiszel
2023-08-25 23:23:09 +02:00
parent 9933a9996d
commit 99a9d56325
2 changed files with 2 additions and 2 deletions
@@ -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}