Skip to content

Commit

Permalink
i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
eyeseast committed May 2, 2024
1 parent b92c54d commit f16b981
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/components/documents/DocumentListItem.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@
hasPrivateNotes && ("private" as Access),
].filter(Boolean);
$: console.log({ tabs });
function clean(html: string) {
return DOMPurify.sanitize(html, { ALLOWED_TAGS: [] });
}
Expand Down Expand Up @@ -84,7 +82,9 @@ It's deliberately minimal and can be wrapped in other components to add addition
{/if}
</a>
{#if document.notes && document.notes.length > 0}
<p class="notes">{document.notes.length} notes</p>
<p class="notes">
{$_("documents.noteCount", { values: { n: document.notes.length } })}
</p>
{/if}

{#each tabs as access}
Expand Down

0 comments on commit f16b981

Please sign in to comment.