Browse Source

refactor: bring back lookups over hm/mm

pull/6738/head
mertmit 1 year ago
parent
commit
73ccc43dec
  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
.filter(
(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'),
)
.filter((column) => isLinksOrLTAR(column) && !column.system && column.source_id === meta.value?.source_id)
.map((column) => ({
col: column.colOptions,
column,

Loading…
Cancel
Save