Browse Source

fix: lint

pull/6496/head
sreehari jayaraj 1 year ago
parent
commit
5fd8a4506d
  1. 3
      packages/nc-gui/components/smartsheet/Gallery.vue
  2. 6
      packages/nc-gui/components/smartsheet/column/EditOrAdd.vue
  3. 1
      packages/nc-gui/components/smartsheet/expanded-form/index.vue

3
packages/nc-gui/components/smartsheet/Gallery.vue

@ -7,7 +7,6 @@ import {
IsFormInj,
IsGalleryInj,
IsGridInj,
IsPublicInj,
MetaInj,
NavigateDir,
OpenNewRecordFormHookInj,
@ -61,8 +60,6 @@ provide(IsGridInj, ref(false))
provide(RowHeightInj, ref(1 as const))
const isPublic = inject(IsPublicInj, ref(false))
const fields = inject(FieldsInj, ref([]))
const route = useRoute()

6
packages/nc-gui/components/smartsheet/column/EditOrAdd.vue

@ -58,7 +58,7 @@ const { betaFeatureToggleState } = useBetaFeatureToggle()
const { openedViewsTab } = storeToRefs(useViewsStore())
const { loadMagic, predictColumnType: _predictColumnType } = useNocoEe()
const { predictColumnType: _predictColumnType } = useNocoEe()
const meta = inject(MetaInj, ref())
@ -145,10 +145,6 @@ watchEffect(() => {
advancedOptions.value = false
})
const predictColumnType = async () => {
_predictColumnType(formState, onUidtOrIdTypeChange)
}
onMounted(() => {
if (!isEdit.value) {
generateNewColumnMeta()

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

@ -3,7 +3,6 @@ import type { TableType, ViewType } from 'nocodb-sdk'
import { isLinksOrLTAR, isSystemColumn, isVirtualCol } from 'nocodb-sdk'
import type { Ref } from 'vue'
import MdiChevronDown from '~icons/mdi/chevron-down'
import TableIcon from '~icons/nc-icons/table'
import {
CellClickHookInj,

Loading…
Cancel
Save