diff --git a/frontend/src/lib/components/ArgInput.svelte b/frontend/src/lib/components/ArgInput.svelte
index c4f6c9a1d9..1307a0ce51 100644
--- a/frontend/src/lib/components/ArgInput.svelte
+++ b/frontend/src/lib/components/ArgInput.svelte
@@ -353,7 +353,7 @@
{#if password}
-
+
{:else}
diff --git a/frontend/src/lib/components/ScriptPicker.svelte b/frontend/src/lib/components/ScriptPicker.svelte
index 9e90183bdf..9641927545 100644
--- a/frontend/src/lib/components/ScriptPicker.svelte
+++ b/frontend/src/lib/components/ScriptPicker.svelte
@@ -31,37 +31,43 @@
if (itemKind == 'flow') {
items = (await FlowService.listFlows({ workspace: $workspaceStore! })).map((flow) => ({
value: flow.path,
- label: `${flow.path}${flow.summary ? `| ${flow.summary}` : ''}`
+ label: `${flow.path}${flow.summary ? ` | ${flow.summary}` : ''}`
}))
} else if (itemKind == 'script') {
items = (await ScriptService.listScripts({ workspace: $workspaceStore!, kind })).map(
(script) => ({
value: script.path,
- label: `${script.path}${script.summary ? `| ${script.summary}` : ''}`
+ label: `${script.path}${script.summary ? ` | ${script.summary}` : ''}`
})
)
} else {
items =
$hubScripts?.map((x) => ({
value: x.path,
- label: `${x.path}${x.summary ? `| ${x.summary}` : ''}`
+ label: `${x.path}${x.summary ? ` | ${x.summary}` : ''}`
})) ?? []
}
}
$: $workspaceStore && itemKind && loadItems()
-
- $: dispatch('select', { path: scriptPath })
{#if options.length > 1}
-
+
{/if}
-
+