From 8ab83a7f86e21dc0c90af7b3e66afa0b44c92506 Mon Sep 17 00:00:00 2001 From: dudleycu Date: Sun, 22 Aug 2021 09:12:55 +0900 Subject: [PATCH] style changes to admin panel --- src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.js b/src/App.js index a912ee9..b86da5e 100644 --- a/src/App.js +++ b/src/App.js @@ -222,7 +222,7 @@ function TableEditor(p) { {{fields.map((col,i)=>{{setSubmitVal({field:col.name,value:f});}}/>})}{SubmitBoxes()}} className="submitbutton"/>} + (f)=>{setSubmitVal({field:col.name,value:f});}}/>})}{SubmitBoxes()}} className="submitbutton"/>} {data.map((dat)=> {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)=> patchValue(value,p,col,dat)} callback2={(f,value)=>{if (f.key==='Enter') {f.currentTarget.blur()} else {return 'Chill'}}} value={String(dat[col.name])}/>)})}