{#if showAllOptions} {/if} {#each project.tasks as task (task.id)} {#if !hideInactive || task.active} {/if} {/each}