logging completion from non-active state works.
This commit is contained in:
@@ -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");
|
||||||
|
|||||||
Reference in New Issue
Block a user