mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-17 20:58:09 +01:00
fix styling of error messages
This commit is contained in:
parent
ed3cbf991c
commit
5454ba385f
4 changed files with 7 additions and 11 deletions
|
|
@ -207,7 +207,7 @@ class Todo < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def hidden?
|
||||
return self.state == 'project_hidden' || ( self.context.hidden? && (self.state == 'active' || self.state == 'deferred'))
|
||||
return self.project_hidden? || ( self.context.hidden? && (self.active? || self.deferred?))
|
||||
end
|
||||
|
||||
def update_state_from_project
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue