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
427d46c2
Commit
427d46c2
authored
Jan 16, 2019
by
Gijs Hendriksen
Browse files
Fix issue where RegistrationScreen was closed immediately
parent
e24dc076
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/sagas/registration.js
View file @
427d46c2
...
...
@@ -33,7 +33,7 @@ const register = function* register(action) {
try
{
const
registration
=
yield
call
(
apiRequest
,
`events/
${
event
}
/registrations`
,
data
);
yield
put
(
eventActions
.
event
(
event
));
yield
put
(
eventActions
.
event
(
event
,
false
));
if
(
registration
.
fields
)
{
yield
put
(
registrationActions
.
retrieveFields
(
registration
.
pk
));
}
...
...
@@ -100,7 +100,7 @@ const cancel = function* cancel(action) {
Sentry
.
captureException
(
error
);
}
yield
put
(
eventActions
.
event
(
event
));
yield
put
(
eventActions
.
event
(
event
,
false
));
};
const
fields
=
function
*
fields
(
action
)
{
...
...
Write
Preview
Markdown
is supported
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