fixes row updating problem in grid component
This commit is contained in:
parent
b7006e097c
commit
a7de7457d2
|
@ -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