Skip to content
Snippets Groups Projects

Update registration field if it is empty

Merged Gijs Hendriksen requested to merge fix/cannot-clear-event-information-fields into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -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];
}
});
Loading