Browse Source

fix: lint errors

pull/7389/head
Ramesh Mane 11 months ago
parent
commit
6f14da6121
  1. 4
      packages/nc-gui/composables/useData.ts

4
packages/nc-gui/composables/useData.ts

@ -162,7 +162,7 @@ export function useData(args: {
{ metaValue = meta.value, viewMetaValue = viewMeta.value }: { metaValue?: TableType; viewMetaValue?: ViewType } = {}, { metaValue = meta.value, viewMetaValue = viewMeta.value }: { metaValue?: TableType; viewMetaValue?: ViewType } = {},
undo = false, undo = false,
) { ) {
const rowsToInsert = [] let rowsToInsert = []
isPaginationLoading.value = true isPaginationLoading.value = true
@ -188,7 +188,7 @@ export function useData(args: {
}) })
if (missingRequiredColumns.size === 0) { if (missingRequiredColumns.size === 0) {
autoGeneratedKeys.forEach((key) => delete insertObj[key]) autoGeneratedKeys.forEach((key) => delete insertObj[key!])
return insertObj return insertObj
} }
}), }),

Loading…
Cancel
Save