From 27c2c85b899fea5171f53bd8df5669c72adc74d7 Mon Sep 17 00:00:00 2001 From: Gisle Aune Date: Fri, 3 Dec 2021 18:09:31 +0100 Subject: [PATCH] add item composition for front page log and item counts under tasks's show-logs logs. --- svelte-ui/src/components/TaskEntry.svelte | 6 ++++++ svelte-ui/src/pages/FrontPage.svelte | 2 ++ 2 files changed, 8 insertions(+) diff --git a/svelte-ui/src/components/TaskEntry.svelte b/svelte-ui/src/components/TaskEntry.svelte index 0b30c23..52722a8 100644 --- a/svelte-ui/src/components/TaskEntry.svelte +++ b/svelte-ui/src/components/TaskEntry.svelte @@ -140,6 +140,12 @@
+ {#if log.itemAmount > 1} + + {/if} + {#if log.secondaryItem != null} + + {/if} {/each} diff --git a/svelte-ui/src/pages/FrontPage.svelte b/svelte-ui/src/pages/FrontPage.svelte index 7cab15b..a4b1856 100644 --- a/svelte-ui/src/pages/FrontPage.svelte +++ b/svelte-ui/src/pages/FrontPage.svelte @@ -7,6 +7,7 @@ import DateRangeSelect from "../components/DateRangeSelect.svelte"; import EmptyParentEntry from "../components/EmptyParentEntry.svelte"; import EveryMinute from "../components/EveryMinute.svelte"; import GoalEntry from "../components/GoalEntry.svelte"; +import ItemProgress from "../components/ItemProgress.svelte"; import LogEntry from "../components/LogEntry.svelte"; import ParentEntry from "../components/ParentEntry.svelte"; import ProjectEntry from "../components/ProjectEntry.svelte"; @@ -119,6 +120,7 @@ import ParentEntry from "../components/ParentEntry.svelte"; {/if} {#if $fpLogStore.logs.length > 0}

Today's Logs

+ {#each $fpLogStore.logs as log (log.id)}