working on time list
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -49,8 +49,8 @@
|
||||
<div>
|
||||
<h1>Times</h1>
|
||||
{#if projects}
|
||||
{#each projects as project,idx1}
|
||||
<button onclick={() => loadTimes(project.id)}>{project.name}</button>
|
||||
{#each Object.entries(projects) as [pid,project]}
|
||||
<button onclick={() => loadTimes(+pid)}>{project.name}</button>
|
||||
{/each}
|
||||
{/if}
|
||||
{#if times}
|
||||
@@ -63,4 +63,4 @@
|
||||
</div>
|
||||
{/each}
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user