From 4c8669a02942447bb7aa2b90aa41b896e8d2d3fc Mon Sep 17 00:00:00 2001 From: Gisle Aune Date: Sun, 7 Feb 2021 11:56:06 +0100 Subject: [PATCH] logging completion from non-active state works. --- svelte-ui/src/forms/LogForm.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svelte-ui/src/forms/LogForm.svelte b/svelte-ui/src/forms/LogForm.svelte index 8513c92..ca0709b 100644 --- a/svelte-ui/src/forms/LogForm.svelte +++ b/svelte-ui/src/forms/LogForm.svelte @@ -60,7 +60,7 @@ import ItemSelect from "../components/ItemSelect.svelte"; markStale("project", "task", "goal", "log"); if (markInactive) { - return stuffLogClient.updateTask(log.task.id, {active: false}); + return stuffLogClient.updateTask(log.task.id, {active: false, statusTag: "completed"}); } }).then(() => { markStale("project", "task");