diff --git a/frontend/src/lib/components/flows/content/FlowInputs.svelte b/frontend/src/lib/components/flows/content/FlowInputs.svelte index c4567887ed..9fd8558562 100644 --- a/frontend/src/lib/components/flows/content/FlowInputs.svelte +++ b/frontend/src/lib/components/flows/content/FlowInputs.svelte @@ -194,44 +194,43 @@
{/if} -
-
- {#each langs as [label, lang] (lang)} - {#if displayLang(lang, kind)} - { - if (lang == 'docker') { - if (isCloudHosted()) { - sendUserToast( - 'You cannot use Docker scripts on the multi-tenant platform. Use a dedicated instance or self-host windmill instead.', - true, - [ - { - label: 'Learn more', - callback: () => { - window.open('https://www.windmill.dev/docs/advanced/docker', '_blank') - } +
+ {#each langs as [label, lang] (lang)} + {#if displayLang(lang, kind)} + { + if (lang == 'docker') { + if (isCloudHosted()) { + sendUserToast( + 'You cannot use Docker scripts on the multi-tenant platform. Use a dedicated instance or self-host windmill instead.', + true, + [ + { + label: 'Learn more', + callback: () => { + window.open('https://www.windmill.dev/docs/advanced/docker', '_blank') } - ] - ) - return - } + } + ] + ) + return } - console.log(lang, kind) - dispatch('new', { - language: lang == 'docker' ? Script.language.BASH : lang, - kind, - subkind: lang == 'docker' ? 'docker' : 'flow', - summary - }) - }} - /> - {/if} - {/each} -
+ } + console.log(lang, kind) + dispatch('new', { + language: lang == 'docker' ? Script.language.BASH : lang, + kind, + subkind: lang == 'docker' ? 'docker' : 'flow', + summary + }) + }} + /> + {/if} + {/each}

button:nth-child(1)', + element: '#flow-editor-action-script-bun', popover: { title: 'Typescript', description: "Let's pick an action to add to your flow", onNextClick: () => { - clickButtonBySelector('#flow-editor-action-script > button > div > button:nth-child(1)') + clickButtonBySelector('#flow-editor-action-script-bun') setTimeout(() => { driver.moveNext()