Browse Source

fix: typo on definition (#8511)

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/8227/head
Mert E 6 months ago committed by GitHub
parent
commit
67158a2d26
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 22
      packages/nc-gui/components/virtual-cell/Lookup.vue

22
packages/nc-gui/components/virtual-cell/Lookup.vue

@ -20,22 +20,12 @@ const rowHeight = inject(RowHeightInj, ref(1) as any)
provide(RowHeightInj, providedHeightRef)
const relationColumn = computed(
() =>
const relationColumn = computed(
() =>
meta.value?.id ? metas.value[meta.value?.id]?.columns?.find(
(c: ColumnType) => c.id === (column.value?.colOptions as LookupType)?.fk_relation_column_id,
) : undefined as
| (ColumnType & {
colOptions: LinkToAnotherRecordType | undefined
})
| undefined,
)
| (ColumnType & {
colOptions: LinkToAnotherRecordType | undefined
})
| undefined,
const relationColumn = computed(() =>
meta.value?.id
? metas.value[meta.value?.id]?.columns?.find(
(c: ColumnType) => c.id === (column.value?.colOptions as LookupType)?.fk_relation_column_id,
)
: undefined,
)
watch(

Loading…
Cancel
Save