This commit is contained in:
Jyri-Petteri Paloposki 2026-02-19 03:36:41 -08:00 committed by GitHub
commit 3a6950995c
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