Browse Source

chore(gui-v2): lint

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/2857/head
Pranav C 2 years ago
parent
commit
ff2698e68f
  1. 1
      packages/nc-gui-v2/components/smartsheet/Grid.vue
  2. 2
      packages/nc-gui-v2/composables/useGlobalState/index.ts
  3. 2
      packages/nc-gui-v2/composables/useGridViewColumnWidth.ts

1
packages/nc-gui-v2/components/smartsheet/Grid.vue

@ -246,6 +246,7 @@ if (meta) useProvideColumnCreateStore(meta)
& > * {
@apply flex align-center h-auto;
}
overflow: hidden;
}
table,

2
packages/nc-gui-v2/composables/useGlobalState/index.ts

@ -1,8 +1,8 @@
import { breakpointsTailwind, usePreferredLanguages, useStorage } from '@vueuse/core'
import { useJwt } from '@vueuse/integrations/useJwt'
import type { JwtPayload } from 'jwt-decode'
import initialFeedBackForm from './initialFeedbackForm'
import { notification } from 'ant-design-vue'
import initialFeedBackForm from './initialFeedbackForm'
import { computed, ref, toRefs, useBreakpoints, useNuxtApp, useTimestamp, watch } from '#imports'
import type { Actions, Getters, GlobalState, StoredState, User } from '~/lib/types'

2
packages/nc-gui-v2/composables/useGridViewColumnWidth.ts

@ -5,7 +5,7 @@ import useMetas from '~/composables/useMetas'
import useUIPermission from '~/composables/useUIPermission'
// todo: update swagger
export default (view: Ref<(GridType & { id?: string })>) => {
export default (view: Ref<GridType & { id?: string }>) => {
const { css, load: loadCss, unload: unloadCss } = useStyleTag('')
const { isUIAllowed } = useUIPermission()
const { $api } = useNuxtApp()

Loading…
Cancel
Save