Skip to content

Commit

Permalink
hide tasks without condition
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenklar committed Sep 26, 2017
1 parent 957115c commit 114e658
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions apps/tasks/managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ def active_by_project(self, project):
if condition.resolve(project):
tasks.append(task)
break
else:
tasks.append(task)

if hasattr(task, 'timeframe'):
task.timeframe.dates = task.timeframe.get_dates(project)
Expand Down

0 comments on commit 114e658

Please sign in to comment.