fixes row updating problem in grid component

This commit is contained in:
Keviin Åberg Kultalahti 2021-01-26 12:03:29 +01:00
parent c552ab761f
commit 5f36bbed23
1 changed files with 1 additions and 2 deletions

View File

@ -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 () => {