mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-01 14:58:50 +01:00
fix #1432.
This commit is contained in:
parent
0f5a11882e
commit
8194ab9d7f
1 changed files with 7 additions and 1 deletions
|
|
@ -508,7 +508,13 @@ module TodosHelper
|
|||
end
|
||||
|
||||
def todo_moved_out_of_container
|
||||
return (@project_changed && @group_view_by=='project') || (@context_changed && @group_view_by=='context')
|
||||
return
|
||||
# moved from one project container to another
|
||||
(@project_changed && @group_view_by=='project') ||
|
||||
# moved from one context container to another
|
||||
(@context_changed && @group_view_by=='context') ||
|
||||
# moved from actions-without-project container to another
|
||||
(@context_changed && @group_view_by=='project' && @todo.project_id.nil?)
|
||||
end
|
||||
|
||||
def update_needs_to_hide_container
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue