Skip to content

Commit

Permalink
[#1971] Removing redundant eindstatus check
Browse files Browse the repository at this point in the history
  • Loading branch information
alextreme committed Jan 4, 2024
1 parent 2bfc809 commit fd80cea
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/open_inwoner/cms/cases/views/status.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,6 @@ def get_context_data(self, **kwargs):
for status in _statuses:
status.statustype = status_type

# The end status data is not passed if the end status has been reached,
# because in that case the end status data is already included in `statuses`
end_statustype = next((s for s in statustypen if s.is_eindstatus), None)
# The following check is a eSuite-specific workaround to deal with multiple statustypes per zaaktype having isEindstatus: true
# In the case when we have reached a statustype with isEindstatus set we assume this is our eindstatus
if (
statuses
Expand Down

0 comments on commit fd80cea

Please sign in to comment.