Browse Source

fix(gui-v2): undefined view

pull/3365/head
Wing-Kam Wong 2 years ago
parent
commit
bd9a7ba1b5
  1. 3
      packages/nc-gui-v2/composables/useLTARStore.ts

3
packages/nc-gui-v2/composables/useLTARStore.ts

@ -47,8 +47,7 @@ const [useProvideLTARStore, useLTARStore] = useInjectionState(
const colOptions = $computed(() => column?.value.colOptions as LinkToAnotherRecordType)
const { sharedView } = useSharedView() as Record<string, any>
const projectId = project?.value?.id || sharedView.value.view.project_id
const projectId = project?.value?.id || sharedView.value?.view?.project_id
// getters
const meta = computed(() => metas?.value?.[column?.value?.fk_model_id as string])

Loading…
Cancel
Save