From ea3469b2fb8774ad2f76521aa42e912a7498aab4 Mon Sep 17 00:00:00 2001 From: Allan Lasser Date: Tue, 23 Apr 2024 09:26:36 -0400 Subject: [PATCH] Fix document list on project page --- src/routes/app/projects/[id]-[slug]/+page.svelte | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/routes/app/projects/[id]-[slug]/+page.svelte b/src/routes/app/projects/[id]-[slug]/+page.svelte index 3805d57a2..5c68bbeef 100644 --- a/src/routes/app/projects/[id]-[slug]/+page.svelte +++ b/src/routes/app/projects/[id]-[slug]/+page.svelte @@ -36,13 +36,15 @@ {#await documents} Loading project documents… {:then projectItems} - {#each projectItems.results as { document }} - {#if typeof document !== "number"} - - {/if} - {:else} - This project has no documents. - {/each} +
+ {#each projectItems.results as { document }} + {#if typeof document !== "number"} + + {/if} + {:else} + This project has no documents. + {/each} +
{:catch} Error loading project documents {/await}