mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
fix for 42e265d
This commit is contained in:
parent
c94aa7bcba
commit
6978d6b14b
1 changed files with 1 additions and 4 deletions
|
|
@ -2728,10 +2728,7 @@ function newTaskCounter()
|
|||
if (Array.isArray(json.tasks)) {
|
||||
let curCounter = 0;
|
||||
json.tasks.forEach((id) => {
|
||||
if (taskList[id]) {
|
||||
console.log('skip existing id ', id);
|
||||
}
|
||||
else {
|
||||
if (!taskList[id]) {
|
||||
curCounter++;
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue