logging completion from non-active state works.

This commit is contained in:
2021-02-07 11:56:06 +01:00
parent 32f068c36e
commit 4c8669a029
+1 -1
View File
@@ -60,7 +60,7 @@ import ItemSelect from "../components/ItemSelect.svelte";
markStale("project", "task", "goal", "log"); markStale("project", "task", "goal", "log");
if (markInactive) { if (markInactive) {
return stuffLogClient.updateTask(log.task.id, {active: false}); return stuffLogClient.updateTask(log.task.id, {active: false, statusTag: "completed"});
} }
}).then(() => { }).then(() => {
markStale("project", "task"); markStale("project", "task");