fix front page project list headers being shown on empty lists.
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-02-28 20:10:29 +01:00
parent aed8e1d6df
commit 9558c8e547
+2 -2
View File
@@ -96,14 +96,14 @@
{/if} {/if}
</div> </div>
<div class="right"> <div class="right">
{#if !$fpProjectStore.loading || $fpProjectStore.projects.length > 0} {#if !$fpProjectStore.loading && $fpProjectStore.projects.length > 0}
<h1>Upcoming Deadlines</h1> <h1>Upcoming Deadlines</h1>
{/if} {/if}
{#each sortedProjects as project (project.id)} {#each sortedProjects as project (project.id)}
<ProjectEntry isFake={fakeMap[project.id]} hideInactive project={project} /> <ProjectEntry isFake={fakeMap[project.id]} hideInactive project={project} />
{/each} {/each}
{#if !$fpProjectStore2.loading || $fpProjectStore2.projects.length > 0} {#if !$fpProjectStore2.loading && $fpProjectStore2.projects.length > 0}
<h1>Starred Projects</h1> <h1>Starred Projects</h1>
{/if} {/if}
{#each $fpProjectStore2.projects as project (project.id)} {#each $fpProjectStore2.projects as project (project.id)}