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,
ReadonlyInj,
ReloadViewDataHookInj,
extractPkFromRow,
inject,
provide,
useViewData,
} from '#imports'
import Row from '~/components/smartsheet/Row.vue'
import type { Row as RowType } from '~/composables'
import { extractPkFromRow } from '~/utils'
import ImageIcon from '~icons/mdi/file-image-box'
interface Attachment {

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

@ -2,7 +2,6 @@
import type { ColumnType } from 'nocodb-sdk'
import { UITypes, isVirtualCol } from 'nocodb-sdk'
import { message } from 'ant-design-vue'
import { useRoute } from '#app'
import {
ActiveViewInj,
CellUrlDisableOverlayInj,
@ -18,6 +17,7 @@ import {
ReadonlyInj,
ReloadViewDataHookInj,
createEventHook,
extractPkFromRow,
inject,
onClickOutside,
onMounted,
@ -28,6 +28,7 @@ import {
useEventListener,
useGridViewColumnWidth,
useI18n,
useRoute,
useSmartsheetStoreOrThrow,
useUIPermission,
useViewData,
@ -35,7 +36,6 @@ import {
} from '#imports'
import type { Row } from '~/composables'
import { NavigateDir } from '~/lib'
import { extractPkFromRow } from '~/utils'
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 Comments from './Comments.vue'
import Header from './Header.vue'
import { useRouter } from '#app'
import {
FieldsInj,
IsFormInj,
@ -19,6 +18,7 @@ import {
toRef,
useProvideExpandedFormStore,
useProvideSmartsheetStore,
useRouter,
useVModel,
watch,
} from '#imports'

Loading…
Cancel
Save