From a7de7457d21a741312d2e08fc8a23d973579b968 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Tue, 26 Jan 2021 12:03:29 +0100 Subject: [PATCH] fixes row updating problem in grid component --- packages/standard-components/src/grid/Component.svelte | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/standard-components/src/grid/Component.svelte b/packages/standard-components/src/grid/Component.svelte index 0d1380d8a7..d4e2c62db4 100644 --- a/packages/standard-components/src/grid/Component.svelte +++ b/packages/standard-components/src/grid/Component.svelte @@ -137,8 +137,7 @@ } const updateRow = async row => { - const schema = (await API.fetchTableDefinition(row.tableId)).schema - await API.updateRow(schema, { data: row }) + await API.updateRow(row) } const deleteRows = async () => {