dispatch('close')} class="hover:bg-surface-hover bg-surface-secondary rounded-full w-8 h-8 flex items-center justify-center transition-all" >
{#if isRunning}
{ isRunning = false try { jobId && (await JobService.cancelQueuedJob({ workspace: $workspaceStore ?? '', id: jobId, requestBody: {} })) } catch {} }} size="sm" btnClasses="w-full max-w-lg" >
Cancel
{:else}
runPreview($previewArgs)} id="flow-editor-test-flow-drawer" > Test flow
{getModifierKey()}
⏎
{/if}
{#if initialPath != ''}
{ inputLibraryDrawer?.openDrawer() }}>Past Runs/Input library
{/if}
{ capturePayload.openDrawer() }}>Fill args from a request
{#if jobId}
{ job = detail }} /> {:else}
Flow status will be displayed here
{/if}