fix extended completion done counting

This commit is contained in:
ReznoRMichael 2021-08-05 00:47:45 +02:00
parent f93c599010
commit f893787a33
3 changed files with 23 additions and 7 deletions

View file

@ -389,9 +389,16 @@ function CheckExtendedCompletion(db) {
} }
} }
if (entries[entry].icon === "green") { switch (entries[entry].icon) {
case "red":
case "none":
case "partial":
case "partialJournal":
break;
default:
intro.extendedCompletionDone++; intro.extendedCompletionDone++;
/* console.info("Counted (Done):", entry); */ // console.info("Counted (Done):", entry);
} }
} }

File diff suppressed because one or more lines are too long

View file

@ -491,10 +491,19 @@ function CheckExtendedCompletion(db) {
} }
} }
if (entries[entry].icon === "green") { switch(entries[entry].icon) {
case "red":
case "none":
case "partial":
case "partialJournal":
break;
default:
intro.extendedCompletionDone++; intro.extendedCompletionDone++;
/* console.info("Counted (Done):", entry); */ // console.info("Counted (Done):", entry);
} }
} }