Browse Source

fix(gui): insert row bug

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/4088/head
Pranav C 2 years ago
parent
commit
8a43a69e13
  1. 2
      packages/nc-gui/composables/useViewData.ts

2
packages/nc-gui/composables/useViewData.ts

@ -206,7 +206,7 @@ export function useViewData(
ltarState: Record<string, any> = {},
{ 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({

Loading…
Cancel
Save