Fix: crash in new note flow, spotted by @thibaultmolleman

This commit is contained in:
Pieter Vander Vennet 2023-06-20 02:09:23 +02:00
parent a6f7b1300a
commit 3e49929f25

View file

@ -108,7 +108,7 @@
</div>
</LoginToggle>
{#if $comment.length >= 3}
{#if $comment?.length >= 3}
<SubtleButton on:click={uploadNote}>
<img slot="image" src="./assets/svg/addSmall.svg" class="mr-4 h-8 w-8" />
<Tr slot="message" t={Translations.t.notes.createNote} />