mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-20 09:10:12 +01:00
This commit is contained in:
parent
294a6356fa
commit
e3b064638c
1 changed files with 2 additions and 2 deletions
|
|
@ -940,7 +940,7 @@ end
|
||||||
@down_count = current_user.todos.active.not_hidden.count
|
@down_count = current_user.todos.active.not_hidden.count
|
||||||
end
|
end
|
||||||
from.context do
|
from.context do
|
||||||
context_id = @original_item.context_id || @todo.context_id
|
context_id = @original_item ? @original_item.context_id || @todo.context_id : @todo.context_id
|
||||||
todos = current_user.contexts.find(context_id).todos.not_completed
|
todos = current_user.contexts.find(context_id).todos.not_completed
|
||||||
|
|
||||||
if @todo.context.hidden?
|
if @todo.context.hidden?
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue