fix front page project list headers being shown on empty lists.
continuous-integration/drone/push Build is passing
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -96,14 +96,14 @@
|
||||
{/if}
|
||||
</div>
|
||||
<div class="right">
|
||||
{#if !$fpProjectStore.loading || $fpProjectStore.projects.length > 0}
|
||||
{#if !$fpProjectStore.loading && $fpProjectStore.projects.length > 0}
|
||||
<h1>Upcoming Deadlines</h1>
|
||||
{/if}
|
||||
{#each sortedProjects as project (project.id)}
|
||||
<ProjectEntry isFake={fakeMap[project.id]} hideInactive project={project} />
|
||||
{/each}
|
||||
|
||||
{#if !$fpProjectStore2.loading || $fpProjectStore2.projects.length > 0}
|
||||
{#if !$fpProjectStore2.loading && $fpProjectStore2.projects.length > 0}
|
||||
<h1>Starred Projects</h1>
|
||||
{/if}
|
||||
{#each $fpProjectStore2.projects as project (project.id)}
|
||||
|
||||
Reference in New Issue
Block a user