Browse Source

refactor(gui-v2): import statement correction

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/2882/head
Pranav C 2 years ago
parent
commit
8d49080cde
  1. 5
      packages/nc-gui-v2/composables/useGridViewColumnWidth.ts

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

@ -1,12 +1,11 @@
import { useStyleTag } from '@vueuse/core' import { useStyleTag } from '@vueuse/core'
import type { ColumnType, GridColumnType } from 'nocodb-sdk' import type { ColumnType, GridColumnType, GridType } from 'nocodb-sdk'
import type { Ref } from 'vue' import type { Ref } from 'vue'
import type GridView from '../../nocodb/src/lib/models/GridView'
import useMetas from '~/composables/useMetas' import useMetas from '~/composables/useMetas'
import useUIPermission from '~/composables/useUIPermission' import useUIPermission from '~/composables/useUIPermission'
// todo: update swagger // todo: update swagger
export default (view: Ref<(GridView & { id?: string }) | undefined>) => { export default (view: Ref<(GridType & { id?: string }) | undefined>) => {
const { css, load: loadCss, unload: unloadCss } = useStyleTag('') const { css, load: loadCss, unload: unloadCss } = useStyleTag('')
const { isUIAllowed } = useUIPermission() const { isUIAllowed } = useUIPermission()
const { $api } = useNuxtApp() const { $api } = useNuxtApp()

Loading…
Cancel
Save