From 6f14da61214ca95a9109b03d550d1d4423f6d7b9 Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Tue, 16 Jan 2024 10:33:50 +0000 Subject: [PATCH] fix: lint errors --- packages/nc-gui/composables/useData.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nc-gui/composables/useData.ts b/packages/nc-gui/composables/useData.ts index e5452734e5..d1d3a56ce0 100644 --- a/packages/nc-gui/composables/useData.ts +++ b/packages/nc-gui/composables/useData.ts @@ -162,7 +162,7 @@ export function useData(args: { { metaValue = meta.value, viewMetaValue = viewMeta.value }: { metaValue?: TableType; viewMetaValue?: ViewType } = {}, undo = false, ) { - const rowsToInsert = [] + let rowsToInsert = [] isPaginationLoading.value = true @@ -188,7 +188,7 @@ export function useData(args: { }) if (missingRequiredColumns.size === 0) { - autoGeneratedKeys.forEach((key) => delete insertObj[key]) + autoGeneratedKeys.forEach((key) => delete insertObj[key!]) return insertObj } }),