Browse Source

chore(nc-gui): fix lint issues

pull/3818/head
Wing-Kam Wong 2 years ago
parent
commit
90957be7cd
  1. 5
      packages/nc-gui/composables/useKanbanViewData.ts

5
packages/nc-gui/composables/useKanbanViewData.ts

@ -9,13 +9,12 @@ import { useNuxtApp } from '#app'
export function useKanbanViewData(
meta: Ref<TableType> | ComputedRef<TableType> | undefined,
viewMeta: Ref<ViewType & { id: string }> | ComputedRef<ViewType & { id: string }> | undefined,
where?: ComputedRef<string | undefined>,
) {
const { t } = useI18n()
const isPublic = inject(IsPublicInj, ref(false))
const { api } = useApi()
const { project } = useProject()
const { $api, $e } = useNuxtApp()
const { $api } = useNuxtApp()
const { sorts, nestedFilters } = useSmartsheetStoreOrThrow()
const { isUIAllowed } = useUIPermission()
const groupingFieldColOptions = useState<Record<string, any>[]>('KanbanGroupingFieldColOptions', () => [])
@ -190,7 +189,7 @@ export function useKanbanViewData(
return formattedData.value.Uncategorized[addAfter]
}
watch(groupingField, async (v) => await loadKanbanData())
watch(groupingField, async () => await loadKanbanData())
return {
loadKanbanData,

Loading…
Cancel
Save