fixes row updating problem in grid component

This commit is contained in:
Keviin Åberg Kultalahti 2021-01-26 12:03:29 +01:00
parent b7006e097c
commit a7de7457d2
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 () => {