1
0
Fork 0
forked from TWS/kalkutago

Fix bug where clearing ticks on one day would clear all ticks for the track on all days

This commit is contained in:
D. Scott Boggs 2023-06-25 15:17:59 -04:00
parent 9b876511d9
commit bfe0537750
4 changed files with 40 additions and 8 deletions

View file

@ -15,7 +15,7 @@ const className = computed(() => isSet.value ? "button is-rounded is-info" : "bu
async function toggle() {
if (isSet.value) {
await state.taskMarkedIncomplete(props.track)
await state.taskMarkedIncomplete(props.track, props.date)
} else
await state.taskCompleted(props.track, props.date)
}