Browse Source

fix front page headers disappearing on loading.

main
Gisle Aune 4 years ago
parent
commit
d8e015c70f
  1. 16
      svelte-ui/src/pages/FrontPage.svelte

16
svelte-ui/src/pages/FrontPage.svelte

@ -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>
{#each sortedProjects as project (project.id)}
<ProjectEntry isFake={fakeMap[project.id]} hideInactive project={project} />
{/each}
{/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.projects.length > 0}
<h1>Starred Projects</h1>
{#each $fpProjectStore2.projects as project (project.id)}
<ProjectEntry hideInactive project={project} />
{/each}
{/if}
{#each $fpProjectStore2.projects as project (project.id)}
<ProjectEntry hideInactive project={project} />
{/each}
</div>
</div>
<RefreshSelection />

Loading…
Cancel
Save