Browse Source

chore(gui): lint

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/3655/head
Pranav C 2 years ago
parent
commit
27ad01722e
  1. 2
      packages/nc-gui/components/smartsheet/Gallery.vue
  2. 4
      packages/nc-gui/components/smartsheet/Grid.vue
  3. 2
      packages/nc-gui/components/smartsheet/expanded-form/index.vue

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

@ -12,13 +12,13 @@ import {
PaginationDataInj, PaginationDataInj,
ReadonlyInj, ReadonlyInj,
ReloadViewDataHookInj, ReloadViewDataHookInj,
extractPkFromRow,
inject, inject,
provide, provide,
useViewData, useViewData,
} from '#imports' } from '#imports'
import Row from '~/components/smartsheet/Row.vue' import Row from '~/components/smartsheet/Row.vue'
import type { Row as RowType } from '~/composables' import type { Row as RowType } from '~/composables'
import { extractPkFromRow } from '~/utils'
import ImageIcon from '~icons/mdi/file-image-box' import ImageIcon from '~icons/mdi/file-image-box'
interface Attachment { interface Attachment {

4
packages/nc-gui/components/smartsheet/Grid.vue

@ -2,7 +2,6 @@
import type { ColumnType } from 'nocodb-sdk' import type { ColumnType } from 'nocodb-sdk'
import { UITypes, isVirtualCol } from 'nocodb-sdk' import { UITypes, isVirtualCol } from 'nocodb-sdk'
import { message } from 'ant-design-vue' import { message } from 'ant-design-vue'
import { useRoute } from '#app'
import { import {
ActiveViewInj, ActiveViewInj,
CellUrlDisableOverlayInj, CellUrlDisableOverlayInj,
@ -18,6 +17,7 @@ import {
ReadonlyInj, ReadonlyInj,
ReloadViewDataHookInj, ReloadViewDataHookInj,
createEventHook, createEventHook,
extractPkFromRow,
inject, inject,
onClickOutside, onClickOutside,
onMounted, onMounted,
@ -28,6 +28,7 @@ import {
useEventListener, useEventListener,
useGridViewColumnWidth, useGridViewColumnWidth,
useI18n, useI18n,
useRoute,
useSmartsheetStoreOrThrow, useSmartsheetStoreOrThrow,
useUIPermission, useUIPermission,
useViewData, useViewData,
@ -35,7 +36,6 @@ import {
} from '#imports' } from '#imports'
import type { Row } from '~/composables' import type { Row } from '~/composables'
import { NavigateDir } from '~/lib' import { NavigateDir } from '~/lib'
import { extractPkFromRow } from '~/utils'
const { t } = useI18n() const { t } = useI18n()

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

@ -7,7 +7,6 @@ import Cell from '../Cell.vue'
import VirtualCell from '../VirtualCell.vue' import VirtualCell from '../VirtualCell.vue'
import Comments from './Comments.vue' import Comments from './Comments.vue'
import Header from './Header.vue' import Header from './Header.vue'
import { useRouter } from '#app'
import { import {
FieldsInj, FieldsInj,
IsFormInj, IsFormInj,
@ -19,6 +18,7 @@ import {
toRef, toRef,
useProvideExpandedFormStore, useProvideExpandedFormStore,
useProvideSmartsheetStore, useProvideSmartsheetStore,
useRouter,
useVModel, useVModel,
watch, watch,
} from '#imports' } from '#imports'

Loading…
Cancel
Save