mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-27 12:28:48 +01:00
explude completed projects from review
This commit is contained in:
parent
ac98737176
commit
7873d2cff8
1 changed files with 1 additions and 0 deletions
|
|
@ -125,6 +125,7 @@ class Project < ActiveRecord::Base
|
|||
|
||||
def stalled?
|
||||
return true if todos.count == 0
|
||||
return false if completed?
|
||||
is_stalled = true
|
||||
todos.each do |t|
|
||||
is_stalled = false if (!t.completed?)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue