Fix bug with DONE : false filtering

Currently if the user filters by things that arent done, it would only show the entries that don't have a DONE flag, not those that has DONE : false. This is due to javascript not considering `'false' == false`
This commit is contained in:
lcb931023 2019-10-15 22:45:13 +08:00
parent e50a2636a7
commit 52d9b5ea69

View File

@ -169,7 +169,7 @@ function Wrap()
{
tempDatabase[keys[i]] = db[keys[i]];
}
else if (value.DONE == false)
else if (value.DONE == 'false')
{
tempDatabase[keys[i]] = db[keys[i]];
}