{#if $runnableComponents[id] != undefined} {#if !runLoading} { runLoading = true $runnableJobEditorPanel.focused = true try { cancelable = $runnableComponents[id]?.cb?.map((f) => f(inlineScript, true)) await Promise.all(cancelable) } catch {} runLoading = false }} shortCut={{ Icon: CornerDownLeft, hide: hideShortcut }} > Run {:else} { cancelable?.forEach((f) => f.cancel()) runLoading = false }} > Cancel {/if} {/if}