{#each documents as doc} {#if isIssue} {@const issue = asIssue(doc)} {#if issue.$lookup?.space}
{/if} {:else}
{/if} {/each}