Commit a967e573 authored by Jelle Besseling's avatar Jelle Besseling

Merge branch 'fix/cannot-clear-event-information-fields' into 'master'

Update registration field if it is empty

Closes #101

See merge request !384
parents 5f9c9df9 a5eba2f9
......@@ -54,7 +54,7 @@ const update = function* update(action) {
const body = {};
Object.keys(fields).forEach((key) => {
if (fields[key] !== undefined && fields[key] !== '') {
if (fields[key] !== undefined) {
body[`fields[${key}]`] = fields[key];
}
});
......
Markdown is supported
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