Browse Source

chore(nc-gui): lint

pull/6937/head
աɨռɢӄաօռɢ 1 year ago
parent
commit
88c8d06673
  1. 1
      packages/nc-gui/components/smartsheet/Row.vue
  2. 2
      packages/nc-gui/components/smartsheet/details/Fields.vue
  3. 1
      packages/nc-gui/components/smartsheet/expanded-form/index.vue
  4. 5
      packages/nc-gui/composables/useExpandedFormStore.ts

1
packages/nc-gui/components/smartsheet/Row.vue

@ -11,7 +11,6 @@ import {
toRef,
useProvideSmartsheetRowStore,
useSmartsheetStoreOrThrow,
watch,
} from '#imports'
const props = defineProps<{

2
packages/nc-gui/components/smartsheet/details/Fields.vue

@ -60,8 +60,6 @@ const newFields = ref<TableExplorerColumn[]>([])
const isFieldIdCopied = ref(false)
const isColOptionDropdownOpen = ref(false)
const compareCols = (a?: TableExplorerColumn, b?: TableExplorerColumn) => {
if (a?.id && b?.id) {
return a.id === b.id

1
packages/nc-gui/components/smartsheet/expanded-form/index.vue

@ -129,7 +129,6 @@ const {
primaryKey,
saveRowAndStay,
row: _row,
syncLTARRefs,
save: _save,
loadCommentsAndLogs,
clearColumns,

5
packages/nc-gui/composables/useExpandedFormStore.ts

@ -180,7 +180,10 @@ const [useProvideExpandedFormStore, useExpandedFormStore] = useInjectionState((m
if (missingRequiredColumns.size) return
data = await $api.dbTableRow.create('noco', base.value.id as string, meta.value.id, { ...insertObj, ...(ltarState ||{}) })
data = await $api.dbTableRow.create('noco', base.value.id as string, meta.value.id, {
...insertObj,
...(ltarState || {}),
})
Object.assign(row.value, {
row: data,

Loading…
Cancel
Save