Browse Source

chore(nc-gui): lint

pull/3801/head
braks 2 years ago
parent
commit
cd30e58361
  1. 2
      packages/nc-gui/components/smartsheet/Gallery.vue
  2. 2
      packages/nc-gui/components/smartsheet/expanded-form/index.vue
  3. 1
      packages/nc-gui/components/smartsheet/toolbar/FieldsMenu.vue
  4. 2
      packages/nc-gui/composables/useDialog/index.ts
  5. 2
      packages/nc-gui/composables/useViewData.ts
  6. 1
      packages/nc-gui/composables/useViewSorts.ts

2
packages/nc-gui/components/smartsheet/Gallery.vue

@ -104,7 +104,7 @@ const expandForm = (row: RowType, state?: Record<string, any>) => {
}) })
} else { } else {
expandedFormRow.value = row expandedFormRow.value = row
expandedFormRowState.value = _state expandedFormRowState.value = state
expandedFormDlg.value = true expandedFormDlg.value = true
} }
} }

2
packages/nc-gui/components/smartsheet/expanded-form/index.vue

@ -3,12 +3,12 @@ import type { TableType, ViewType } from 'nocodb-sdk'
import { UITypes, isSystemColumn, isVirtualCol } from 'nocodb-sdk' import { UITypes, isSystemColumn, isVirtualCol } from 'nocodb-sdk'
import type { Ref } from 'vue' import type { Ref } from 'vue'
import { import {
message,
FieldsInj, FieldsInj,
IsFormInj, IsFormInj,
MetaInj, MetaInj,
ReloadRowDataHookInj, ReloadRowDataHookInj,
computedInject, computedInject,
message,
provide, provide,
ref, ref,
toRef, toRef,

1
packages/nc-gui/components/smartsheet/toolbar/FieldsMenu.vue

@ -13,7 +13,6 @@ import {
computed, computed,
inject, inject,
ref, ref,
resolveComponent,
useNuxtApp, useNuxtApp,
useViewColumns, useViewColumns,
watch, watch,

2
packages/nc-gui/composables/useDialog/index.ts

@ -1,4 +1,4 @@
import type { DefineComponent, VNode } from '@vue/runtime-dom' import type { VNode } from '@vue/runtime-dom'
import { isVNode, render } from '@vue/runtime-dom' import { isVNode, render } from '@vue/runtime-dom'
import type { ComponentPublicInstance } from '@vue/runtime-core' import type { ComponentPublicInstance } from '@vue/runtime-core'
import { isClient } from '@vueuse/core' import { isClient } from '@vueuse/core'

2
packages/nc-gui/composables/useViewData.ts

@ -41,7 +41,7 @@ export function useViewData(
const { api, isLoading, error } = useApi() const { api, isLoading, error } = useApi()
const { appInfo } = $(useGlobal()) const { appInfo } = $(useGlobal())
const appInfoDefaultLimit = appInfo.defaultLimit || 25 const appInfoDefaultLimit = appInfo.defaultLimit || 25
const _paginationData = ref<PaginatedType>({ page: 1, pageSize: appInfoDefaultLimit }) const _paginationData = ref<PaginatedType>({ page: 1, pageSize: appInfoDefaultLimit })
const aggCommentCount = ref<{ row_id: string; count: number }[]>([]) const aggCommentCount = ref<{ row_id: string; count: number }[]>([])

1
packages/nc-gui/composables/useViewSorts.ts

@ -12,7 +12,6 @@ import {
useSharedView, useSharedView,
useSmartsheetStoreOrThrow, useSmartsheetStoreOrThrow,
useUIPermission, useUIPermission,
watch,
} from '#imports' } from '#imports'
export function useViewSorts(view: Ref<ViewType | undefined>, reloadData?: () => void) { export function useViewSorts(view: Ref<ViewType | undefined>, reloadData?: () => void) {

Loading…
Cancel
Save