fixes row updating problem in grid component
This commit is contained in:
parent
b7006e097c
commit
a7de7457d2
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue