Browse Source

fix: Fixed skelton loading issue

pull/7105/head
Muhammed Mustafa 1 year ago
parent
commit
3f500384b0
  1. 4
      packages/nc-gui/composables/useData.ts
  2. 4
      packages/nc-gui/composables/useViewData.ts

4
packages/nc-gui/composables/useData.ts

@ -34,10 +34,6 @@ export function useData(args: {
}) {
const { meta, viewMeta, formattedData, paginationData, callbacks } = args
if (!meta) {
throw new Error('Table meta is not available')
}
const { t } = useI18n()
const { getMeta, metas } = useMetas()

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

@ -42,10 +42,6 @@ export function useViewData(
const meta = computed(() => _meta.value || activeTable.value)
const metaId = computed(() => _meta.value?.id || activeTableId.value)
if (!meta.value) {
throw new Error('Table meta is not available')
}
const { t } = useI18n()
const optimisedQuery = useState('optimisedQuery', () => true)

Loading…
Cancel
Save