fixes row updating problem in grid component
This commit is contained in:
parent
c552ab761f
commit
5f36bbed23
|
@ -137,8 +137,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
const updateRow = async row => {
|
const updateRow = async row => {
|
||||||
const schema = (await API.fetchTableDefinition(row.tableId)).schema
|
await API.updateRow(row)
|
||||||
await API.updateRow(schema, { data: row })
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const deleteRows = async () => {
|
const deleteRows = async () => {
|
||||||
|
|
Loading…
Reference in New Issue