Fix crash when saving rows
This commit is contained in:
parent
9055744a5c
commit
e1b3982bab
|
@ -80,6 +80,7 @@ const makeRowRequestBody = (parameters, state) => {
|
|||
if (body._table) delete body._table
|
||||
|
||||
// then override with supplied parameters
|
||||
if (parameters.fields) {
|
||||
for (let fieldName of Object.keys(parameters.fields)) {
|
||||
const field = parameters.fields[fieldName]
|
||||
|
||||
|
@ -101,6 +102,8 @@ const makeRowRequestBody = (parameters, state) => {
|
|||
body[fieldName] = field.value
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return body
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue