Browse Source

fix front page headers disappearing on loading.

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

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

@ -96,19 +96,19 @@
{/if} {/if}
</div> </div>
<div class="right"> <div class="right">
{#if !$fpProjectStore.loading && $fpProjectStore.projects.length > 0}
{#if $fpProjectStore.projects.length > 0}
<h1>Upcoming Deadlines</h1> <h1>Upcoming Deadlines</h1>
{/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}
{#if !$fpProjectStore2.loading && $fpProjectStore2.projects.length > 0}
{#if $fpProjectStore2.projects.length > 0}
<h1>Starred Projects</h1> <h1>Starred Projects</h1>
{/if}
{#each $fpProjectStore2.projects as project (project.id)} {#each $fpProjectStore2.projects as project (project.id)}
<ProjectEntry hideInactive project={project} /> <ProjectEntry hideInactive project={project} />
{/each} {/each}
{/if}
</div> </div>
</div> </div>
<RefreshSelection /> <RefreshSelection />

Loading…
Cancel
Save