Browse Source

fix: lint issues

pull/6450/head
DarkPhoenix2704 11 months ago
parent
commit
bda7939236
  1. 2
      packages/nc-gui/components/dashboard/TreeView/CreateViewBtn.vue
  2. 1
      packages/nc-gui/components/dashboard/TreeView/ProjectNode.vue
  3. 2
      packages/nc-gui/components/dashboard/TreeView/ViewsList.vue
  4. 2
      packages/nc-gui/components/dlg/ViewCreate.vue
  5. 2
      packages/nc-gui/components/tabs/Smartsheet.vue

2
packages/nc-gui/components/dashboard/TreeView/CreateViewBtn.vue

@ -4,8 +4,6 @@ import { ViewTypes } from 'nocodb-sdk'
const { $e } = useNuxtApp()
const router = useRouter()
const { refreshCommandPalette } = useCommandPalette()
const viewsStore = useViewsStore()
const { views } = storeToRefs(viewsStore)

1
packages/nc-gui/components/dashboard/TreeView/ProjectNode.vue

@ -11,7 +11,6 @@ import {
ProjectRoleInj,
ToggleDialogInj,
extractSdkResponseErrorMsg,
isElementInvisible,
openLink,
storeToRefs,
useProjects,

2
packages/nc-gui/components/dashboard/TreeView/ViewsList.vue

@ -51,8 +51,6 @@ const views = computed(() => viewsByTable.value.get(table.value.id!)?.filter((v)
const { api } = useApi()
const router = useRouter()
const { refreshCommandPalette } = useCommandPalette()
const { addUndo, defineModelScope } = useUndoRedo()

2
packages/nc-gui/components/dlg/ViewCreate.vue

@ -4,7 +4,7 @@ import type { Form as AntForm, SelectProps } from 'ant-design-vue'
import { capitalize } from '@vue/runtime-core'
import type { FormType, GalleryType, GridType, KanbanType, MapType, TableType, ViewType } from 'nocodb-sdk'
import { UITypes, ViewTypes } from 'nocodb-sdk'
import { computed, message, nextTick, onBeforeMount, reactive, ref, unref, useApi, useI18n, useVModel, watch } from '#imports'
import { computed, message, nextTick, onBeforeMount, reactive, ref, useApi, useI18n, useVModel, watch } from '#imports'
interface Props {
modelValue: boolean

2
packages/nc-gui/components/tabs/Smartsheet.vue

@ -36,8 +36,6 @@ const { metas, getMeta } = useMetas()
useSidebar('nc-right-sidebar')
const isPublic = inject(IsPublicInj, ref(false))
const activeTab = toRef(props, 'activeTab')
const fields = ref<ColumnType[]>([])

Loading…
Cancel
Save