From d8e015c70f075d4de17e6ece3bea00a04710ddcf Mon Sep 17 00:00:00 2001 From: Gisle Aune Date: Tue, 2 Mar 2021 10:24:52 +0100 Subject: [PATCH] fix front page headers disappearing on loading. --- svelte-ui/src/pages/FrontPage.svelte | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/svelte-ui/src/pages/FrontPage.svelte b/svelte-ui/src/pages/FrontPage.svelte index a39b784..f7d015d 100644 --- a/svelte-ui/src/pages/FrontPage.svelte +++ b/svelte-ui/src/pages/FrontPage.svelte @@ -96,19 +96,19 @@ {/if}
- {#if !$fpProjectStore.loading && $fpProjectStore.projects.length > 0} + {#if $fpProjectStore.projects.length > 0}

Upcoming Deadlines

+ {#each sortedProjects as project (project.id)} + + {/each} {/if} - {#each sortedProjects as project (project.id)} - - {/each} - {#if !$fpProjectStore2.loading && $fpProjectStore2.projects.length > 0} + {#if $fpProjectStore2.projects.length > 0}

Starred Projects

+ {#each $fpProjectStore2.projects as project (project.id)} + + {/each} {/if} - {#each $fpProjectStore2.projects as project (project.id)} - - {/each}