Browse Source

Merge pull request #6738 from nocodb/nc-revive/lookup-hm-mm

refactor: bring back lookups over hm/mm
pull/6742/head
Raju Udava 1 year ago committed by GitHub
parent
commit
bedd3da632
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      packages/nc-gui/components/smartsheet/column/LookupOptions.vue

8
packages/nc-gui/components/smartsheet/column/LookupOptions.vue

@ -39,13 +39,7 @@ const refTables = computed(() => {
} }
const _refTables = meta.value.columns const _refTables = meta.value.columns
.filter( .filter((column) => isLinksOrLTAR(column) && !column.system && column.source_id === meta.value?.source_id)
(column) =>
isLinksOrLTAR(column) &&
!column.system &&
column.source_id === meta.value?.source_id &&
(!appInfo.value.ee || vModel.value.fk_relation_column_id === column.id || (column?.colOptions as any)?.type === 'bt'),
)
.map((column) => ({ .map((column) => ({
col: column.colOptions, col: column.colOptions,
column, column,

Loading…
Cancel
Save