{#if block.stepId !== "LOOP"}
{#if $view.dragging && selected}
{/if}
{ e.stopPropagation() }} > {#if draggable}
{/if}
{#if loopBlock}
{ showLooping = !showLooping }} class="splitHeader" >
Looping
{}}>
{#if !showLooping}
{/if} {/if} (open = !open)} on:update={async e => { const newName = e.detail if (newName.length === 0) { await automationStore.actions.deleteAutomationName(block.id) } else { await automationStore.actions.saveAutomationName( block.id, newName ) } }} /> {#if open}
{#if isAppAction}
{/if} {#if isTrigger && triggerInfo} {/if}
{/if}
{#if !collectBlockExists || !lastStep}
{#if $view.dragging} {:else} { automationStore.actions.branchAutomation( $selectedAutomation.blockRefs[block.id].pathTo, automation ) }} /> {/if} {#if !lastStep}
{/if} {/if} {/if}