mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-05 02:19:10 +00:00
don't hide completed todos from challenge progress modals
This commit is contained in:
parent
81ca8d15b5
commit
20376d69c0
2 changed files with 2 additions and 2 deletions
2
dist/habitrpg-shared.js
vendored
2
dist/habitrpg-shared.js
vendored
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue