Commit 8865f022 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Fix missing event.user_registration !== null check

parent 96c74d44
......@@ -125,6 +125,7 @@ const Event = (props) => {
}
if ((event.status === REGISTRATION_OPEN_NO_CANCEL || event.status === REGISTRATION_CLOSED) &&
event.user_registration !== null &&
!event.user_registration.is_cancelled && event.fine > 0 &&
event.user_registration.queue_position === null) {
text += `Afmelden is niet meer mogelijk zonder de volledige kosten van €${event.fine} te ` +
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment