mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +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
|
||||
end
|
||||
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
|
||||
|
||||
if @todo.context.hidden?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue