chore(nc-gui): lint

This commit is contained in:
Ramesh Mane
2025-03-05 14:51:14 +00:00
parent 19b127e09b
commit daf3ecb473
3 changed files with 6 additions and 26 deletions

View File

@@ -109,7 +109,7 @@ export default function convertCellData(
attachments.push(attachment)
}
// Todo: on paste file add it don't replace
// Todo: on paste file add it don't replace
if (oldAttachments.length && !attachments.length) {
return undefined
} else if (value && attachments.length) {

View File

@@ -1,16 +1,6 @@
import type { MaybeRef } from '@vueuse/core'
import dayjs from 'dayjs'
import type {
AIRecordType,
AttachmentType,
ColumnType,
LinkToAnotherRecordType,
PaginatedType,
TableType,
UserFieldRecordType,
ViewType,
} from 'nocodb-sdk'
import { ColumnHelper, UITypes, isDateMonthFormat, isSystemColumn, isVirtualCol, populateUniqueFileName } from 'nocodb-sdk'
import type { AttachmentType, ColumnType, LinkToAnotherRecordType, PaginatedType, TableType, ViewType } from 'nocodb-sdk'
import { ColumnHelper, UITypes, isSystemColumn, isVirtualCol, populateUniqueFileName } from 'nocodb-sdk'
import { parse } from 'papaparse'
import type { Ref } from 'vue'
import { computed } from 'vue'
@@ -157,7 +147,7 @@ export function useMultiSelect(
}
const valueToCopy = (rowObj: Row, columnObj: ColumnType) => {
let textToCopy = (columnObj.title && rowObj.row[columnObj.title]) || ''
const textToCopy = (columnObj.title && rowObj.row[columnObj.title]) || ''
return ColumnHelper.parseValue(textToCopy, {
col: columnObj,