{#if showAvailableActions || !actions?.length}
{#if actions?.length > 0}
Back
{/if}
{#each Object.entries(mappedActionTypes) as [categoryId, category], idx}
{categoryId}
    {#each category as actionType}
  • {actionType.name}
  • {/each}
{/each}
{/if} {#if actions && actions.length > 0 && !showAvailableActions}
{#each actions as action, index (action.id)}
{index + 1}. {action[EVENT_TYPE_KEY]}
deleteAction(index)} />
{/each}
{/if}
{#if selectedActionComponent && !showAvailableActions} {#key selectedAction.id}
{/key} {/if}