Browse Source

fix: lint issues

pull/6450/head
DarkPhoenix2704 1 year 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 { $e } = useNuxtApp()
const router = useRouter()
const { refreshCommandPalette } = useCommandPalette() const { refreshCommandPalette } = useCommandPalette()
const viewsStore = useViewsStore() const viewsStore = useViewsStore()
const { views } = storeToRefs(viewsStore) const { views } = storeToRefs(viewsStore)

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

@ -11,7 +11,6 @@ import {
ProjectRoleInj, ProjectRoleInj,
ToggleDialogInj, ToggleDialogInj,
extractSdkResponseErrorMsg, extractSdkResponseErrorMsg,
isElementInvisible,
openLink, openLink,
storeToRefs, storeToRefs,
useProjects, 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 { api } = useApi()
const router = useRouter()
const { refreshCommandPalette } = useCommandPalette() const { refreshCommandPalette } = useCommandPalette()
const { addUndo, defineModelScope } = useUndoRedo() 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 { capitalize } from '@vue/runtime-core'
import type { FormType, GalleryType, GridType, KanbanType, MapType, TableType, ViewType } from 'nocodb-sdk' import type { FormType, GalleryType, GridType, KanbanType, MapType, TableType, ViewType } from 'nocodb-sdk'
import { UITypes, ViewTypes } 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 { interface Props {
modelValue: boolean modelValue: boolean

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

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

Loading…
Cancel
Save