fix log amount not being accounted for in TaskResult.completedAmount, and fix being unable to remove secondary item.
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-01-17 21:57:26 +01:00
parent 52d6c55e0e
commit 02b0907598
3 changed files with 14 additions and 7 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ import ItemSelect from "../components/ItemSelect.svelte";
stuffLogClient.updateLog(log.id, {
loggedTime: new Date(loggedTime).toISOString(),
secondaryItemId: secondaryItemId || null,
clearSecondaryItemId: secondaryItemId == "",
clearSecondaryItemId: !secondaryItemId,
description, itemAmount, secondaryItemAmount
}).then(() => {
markStale("project", "task", "goal", "log");