diff --git a/src/App.js b/src/App.js index 518727e..2fe3a8f 100644 --- a/src/App.js +++ b/src/App.js @@ -215,7 +215,7 @@ function TableEditor(p) { {axios.delete(p.BACKENDURL+p.path,{data:{id:dat.id,pass:p.password}}).then(()=>{setUpdate(true)}).catch((err)=>{alert(err.response.data)})}}/>{fields.map((col,i)=> { return axios.patch(p.BACKENDURL+p.path,{ - [col.name]:value, + [col.name]:value==="null"?null:value, id:dat.id, pass:p.password })