Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

fix(Sentry TypeError): Cannot read properties of undefined (reading 'Invoices')

Ramesh Mane199744f1b0fa
diff --git a/packages/nc-gui/components/virtual-cell/Lookup.vue b/packages/nc-gui/components/virtual-cell/Lookup.vue
index 342b1d2721..79a6f1e59f 100644
--- a/packages/nc-gui/components/virtual-cell/Lookup.vue
+++ b/packages/nc-gui/components/virtual-cell/Lookup.vue
@@ -101,7 +101,7 @@ const arrValue = computed(() => {
lookupColumn.value?.uidt === UITypes.Checkbox &&
[RelationTypes.BELONGS_TO, RelationTypes.ONE_TO_ONE].includes(relationColumn.value?.colOptions?.type)
) {
- const hasLink = !!(row && row.value?.row[relationColumn.value?.title])
+ const hasLink = !!row?.value?.row?.[relationColumn.value?.title]
if (!cellValue.value && !hasLink) return []