fixed done command
This commit is contained in:
parent
81e3b5f5ba
commit
9baf6ef678
1 changed files with 1 additions and 1 deletions
|
|
@ -1741,7 +1741,7 @@ async function markTaskDone(username, task) {
|
||||||
// if there's no comma in the task (single task)
|
// if there's no comma in the task (single task)
|
||||||
|
|
||||||
let index = tasks[username].todos.findIndex(
|
let index = tasks[username].todos.findIndex(
|
||||||
(t) => t.text.toLowerCase() === task.toLowerCase() && !task.done
|
(t) => t.text.toLowerCase() === task.toLowerCase() && !t.done
|
||||||
);
|
);
|
||||||
|
|
||||||
// is there a task with focus on?
|
// is there a task with focus on?
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue