diff --git a/packages/nc-gui-v2/composables/useLTARStore.ts b/packages/nc-gui-v2/composables/useLTARStore.ts index 55d6eaad75..860ce160a4 100644 --- a/packages/nc-gui-v2/composables/useLTARStore.ts +++ b/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 - - 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])