Browse Source

logging completion from non-active state works.

main
Gisle Aune 4 years ago
parent
commit
4c8669a029
  1. 2
      svelte-ui/src/forms/LogForm.svelte

2
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");

Loading…
Cancel
Save