{#each attachments as attachment, i} {@const href = getFileUrl(attachment.file, attachment.name)}
showFileMenu(event, attachment, i)}>
{/each}