Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
VirginiaDooley committed Mar 5, 2021
1 parent c9dc066 commit 8f16fe5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion wcivf/apps/people/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,10 @@ def statement_remainder(self):

@property
def display_deceased(self):
return self.death_date and self.current_or_future_candidacies
if self.death_date and self.current_or_future_candidacies:
return True
else:
return False

@cached_property
def current_or_future_candidacies(self):
Expand Down

0 comments on commit 8f16fe5

Please sign in to comment.