{#if notes} {#each notes as note (note.id)}
{#if module} {authors[note.user_id].name} {:else} goToEntity(note)}>{title(note)} {/if} {#if !module} {authors[note.user_id].name} – {/if} {note.timestamp.replace('T',' ')} {#if user.id == note.user_id} {/if} update(note.id,newVal)} editable={user.id == note.user_id} />
{/each} {/if}