This commit is contained in:
Jyri-Petteri Paloposki 2025-11-25 15:24:40 -08:00 committed by GitHub
commit 51e5ff593b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -940,7 +940,8 @@ end
end
from.project do
unless @todo.project_id == nil
@down_count = current_user.projects.find(@todo.project_id).todos.active_or_hidden.count
project = current_user.projects.find(@todo.project_id)
@down_count = project.todos.active_or_hidden.count + project.todos.deferred.count + project.todos.pending.count
end
end
from.deferred do