mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-14 19:28:10 +01:00
fix #1146
This commit is contained in:
parent
cb58318858
commit
4658ca8655
3 changed files with 17 additions and 1 deletions
|
|
@ -234,7 +234,9 @@ module TodosHelper
|
|||
}
|
||||
page.project {
|
||||
return (@todo.active? && @todo.project && @todo.project.id == @default_project.id) ||
|
||||
(@todo.project.hidden? && @todo.project_hidden?) || @todo.deferred? || @todo.pending?
|
||||
(@todo.project.hidden? && @todo.project_hidden?) ||
|
||||
( @todo.deferred? && (@todo.project.id == @default_project.id) ) ||
|
||||
@todo.pending?
|
||||
}
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue