Skip to content
2 changes: 1 addition & 1 deletion src/argus/incident/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ def update_incident(self, validated_data: dict, incident: Incident):
if event_type in {Event.Type.INCIDENT_END, Event.Type.CLOSE}:
incident.end_time = timestamp
incident.save()
elif event_type == Event.Type.REOPEN:
elif event_type in {Event.Type.REOPEN, Event.Type.INCIDENT_RESTART} :
incident.end_time = INFINITY_REPR
incident.save()

Expand Down