Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
ThaliApp
Commits
8865f022
Commit
8865f022
authored
May 31, 2017
by
Sébastiaan Versteeg
Browse files
Fix missing event.user_registration !== null check
parent
96c74d44
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/components/Event.js
View file @
8865f022
...
...
@@ -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 `
+
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment