don't hide completed todos from challenge progress modals

This commit is contained in:
Tyler Renelle 2014-01-03 14:42:18 -07:00
parent 81ca8d15b5
commit 20376d69c0
2 changed files with 2 additions and 2 deletions

View file

@ -11044,7 +11044,7 @@ var process=require("__browserify_process");(function() {
return;
}
type = task.type, completed = task.completed, value = task.value, repeat = task.repeat;
if ((type === 'todo') && (completed !== showCompleted)) {
if ((type === 'todo' && completed !== showCompleted) && main) {
return 'hidden';
}
if (main) {

View file

@ -229,7 +229,7 @@ api.taskClasses = (task, filters=[], dayStart=0, lastCron=+new Date, showComplet
{type, completed, value, repeat} = task
# completed / remaining toggle
return 'hidden' if (type is 'todo') and (completed != showCompleted)
return 'hidden' if (type is 'todo' and completed != showCompleted) and main
# Filters
if main # only show when on your own list