From 8a43a69e1346011ecb81ca71ddd1b46cd496c4a2 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Sat, 15 Oct 2022 12:05:23 +0530 Subject: [PATCH] fix(gui): insert row bug Signed-off-by: Pranav C --- packages/nc-gui/composables/useViewData.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nc-gui/composables/useViewData.ts b/packages/nc-gui/composables/useViewData.ts index e2c2dff658..a190818557 100644 --- a/packages/nc-gui/composables/useViewData.ts +++ b/packages/nc-gui/composables/useViewData.ts @@ -206,7 +206,7 @@ export function useViewData( ltarState: Record = {}, { metaValue = meta.value, viewMetaValue = viewMeta.value }: { metaValue?: TableType; viewMetaValue?: ViewType } = {}, ) { - const row = currentRow + const row = currentRow.row; if (currentRow.rowMeta) currentRow.rowMeta.saving = true try { const { missingRequiredColumns, insertObj } = await populateInsertObject({