fix(frontend): prevent runnable to run if the script is not defined (#938)

This commit is contained in:
Faton Ramadani
2022-11-23 20:37:38 +01:00
committed by GitHub
parent 4b2b3467d2
commit e64195e42b
2 changed files with 5 additions and 1 deletions
@@ -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(() => {