diff --git a/src/lib/components/documents/DocumentListItem.svelte b/src/lib/components/documents/DocumentListItem.svelte index f733412ba..be1501810 100644 --- a/src/lib/components/documents/DocumentListItem.svelte +++ b/src/lib/components/documents/DocumentListItem.svelte @@ -49,8 +49,6 @@ hasPrivateNotes && ("private" as Access), ].filter(Boolean); - $: console.log({ tabs }); - function clean(html: string) { return DOMPurify.sanitize(html, { ALLOWED_TAGS: [] }); } @@ -84,7 +82,9 @@ It's deliberately minimal and can be wrapped in other components to add addition {/if} {#if document.notes && document.notes.length > 0} -
{document.notes.length} notes
++ {$_("documents.noteCount", { values: { n: document.notes.length } })} +
{/if} {#each tabs as access}