don't hide completed todos from challenge progress modals
This commit is contained in:
Vendored
+1
-1
@@ -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) {
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user