{#each documents as doc} {#if isIssue} {@const issue = asIssue(doc)}
{#if !readonly} {/if}
{:else}
{#if !readonly} {/if}
{/if} {/each}