Skip to content
Snippets Groups Projects
Commit a5eba2f9 authored by Gijs Hendriksen's avatar Gijs Hendriksen
Browse files

Update registration field if it is empty

parent 9efca603
No related branches found
No related tags found
1 merge request!384Update registration field if it is empty
......@@ -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];
}
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment