Browse Source

fix: lint error

pull/7389/head
Ramesh Mane 10 months ago
parent
commit
393537b985
  1. 4
      packages/nc-gui/composables/useData.ts
  2. 1
      packages/nocodb-sdk/src/lib/UITypes.ts

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

@ -1,5 +1,5 @@
import type { ColumnType, LinkToAnotherRecordType, PaginatedType, RelationTypes, TableType, ViewType } from 'nocodb-sdk'
import { UITypes, getSystemColumnsTitles, isCreatedOrLastModifiedByCol, isCreatedOrLastModifiedTimeCol } from 'nocodb-sdk'
import { UITypes, isCreatedOrLastModifiedByCol, isCreatedOrLastModifiedTimeCol } from 'nocodb-sdk'
import type { ComputedRef, Ref } from 'vue'
import {
NOCO,
@ -167,7 +167,7 @@ export function useData(args: {
isPaginationLoading.value = true
try {
for (const currentRow of rows) {
let { missingRequiredColumns, insertObj } = await populateInsertObject({
const { missingRequiredColumns, insertObj } = await populateInsertObject({
meta: metaValue!,
ltarState: {},
getMeta,

1
packages/nocodb-sdk/src/lib/UITypes.ts

@ -137,6 +137,7 @@ export function isVirtualCol(
// UITypes.Count,
].includes(<UITypes>(typeof col === 'object' ? col?.uidt : col));
}
export function isCreatedOrLastModifiedTimeCol(
col:
| UITypes

Loading…
Cancel
Save