mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-23 00:00:33 +00:00
fix(frontend): prevent runnable to run if the script is not defined (#938)
This commit is contained in:
@@ -16,5 +16,5 @@
|
||||
<InputValue input={componentInputs.content} bind:value={contentValue} />
|
||||
|
||||
<AlignWrapper {horizontalAlignement} {verticalAlignement}>
|
||||
<SvelteMarkdown source={contentValue} />
|
||||
<SvelteMarkdown source={String(contentValue)} />
|
||||
</AlignWrapper>
|
||||
|
||||
@@ -147,6 +147,10 @@
|
||||
)
|
||||
|
||||
async function executeComponent() {
|
||||
if (!schema) {
|
||||
return
|
||||
}
|
||||
|
||||
outputs?.loading.set(true)
|
||||
|
||||
await testJobLoader?.abstractRun(() => {
|
||||
|
||||
Reference in New Issue
Block a user