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}
|
{/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)}
|
||||||
|
|||||||
Reference in New Issue
Block a user