mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-22 05:50:47 +02:00
Merge branch '2.3_branch'
This brings the master branch up to date with the 2.3 release branch
This commit is contained in:
commit
f393afb69f
27 changed files with 111 additions and 84 deletions
|
@ -655,9 +655,6 @@ class TodosController < ApplicationController
|
|||
|
||||
# Set defaults for new_action
|
||||
@initial_tags = @tag_name
|
||||
unless @not_done_todos.empty?
|
||||
@context = current_user.contexts.find(@not_done_todos.first.context_id)
|
||||
end
|
||||
|
||||
# Set count badge to number of items with this tag
|
||||
@not_done_todos.empty? ? @count = 0 : @count = @not_done_todos.size
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue