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 {
expandedFormRow.value = row
expandedFormRowState.value = _state
expandedFormRowState.value = state
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 type { Ref } from 'vue'
import {
message,
FieldsInj,
IsFormInj,
MetaInj,
ReloadRowDataHookInj,
computedInject,
message,
provide,
ref,
toRef,

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

@ -13,7 +13,6 @@ import {
computed,
inject,
ref,
resolveComponent,
useNuxtApp,
useViewColumns,
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 type { ComponentPublicInstance } from '@vue/runtime-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 { appInfo } = $(useGlobal())
const { appInfo } = $(useGlobal())
const appInfoDefaultLimit = appInfo.defaultLimit || 25
const _paginationData = ref<PaginatedType>({ page: 1, pageSize: appInfoDefaultLimit })
const aggCommentCount = ref<{ row_id: string; count: number }[]>([])

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

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

Loading…
Cancel
Save