From c86c3ea59611c09549eebdff20b4fda5d2fa159d Mon Sep 17 00:00:00 2001 From: stingl Date: Mon, 22 Nov 2021 14:15:42 +0100 Subject: [PATCH] Fix error; --- js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/app.js b/js/app.js index 17e1d5f..919e35a 100644 --- a/js/app.js +++ b/js/app.js @@ -737,7 +737,7 @@ const TimeTrack = { let counter = 0; tasks.forEach((task) => { - if (task.open) { + if (!task.done) { counter++; } });