Timothy Jaeryang Baek 5 months ago
parent
commit
6475ae3b11
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/components/notes/NoteEditor.svelte

+ 1 - 1
src/lib/components/notes/NoteEditor.svelte

@@ -337,7 +337,7 @@
 			</div>
 
 			<div class=" flex-1 w-full h-full overflow-auto px-4 pb-5">
-				{#if files}
+				{#if files && files.length > 0}
 					<div class="mb-3.5 mt-1.5 w-full flex gap-1 flex-wrap z-40">
 						{#each files as file, fileIdx}
 							<div class="w-fit">