fix front page headers disappearing on loading.
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-03-02 10:24:52 +01:00
parent 0bbe8b4896
commit d8e015c70f
+5 -5
View File
@@ -96,19 +96,19 @@
{/if}
</div>
<div class="right">
{#if !$fpProjectStore.loading && $fpProjectStore.projects.length > 0}
{#if $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}
<h1>Starred Projects</h1>
{/if}
{#if $fpProjectStore2.projects.length > 0}
<h1>Starred Projects</h1>
{#each $fpProjectStore2.projects as project (project.id)}
<ProjectEntry hideInactive project={project} />
{/each}
{/if}
</div>
</div>
<RefreshSelection />