From 73ccc43dec8797ffa137ce625a260d8dcfe3614b Mon Sep 17 00:00:00 2001 From: mertmit Date: Thu, 19 Oct 2023 11:19:49 +0000 Subject: [PATCH] refactor: bring back lookups over hm/mm --- .../nc-gui/components/smartsheet/column/LookupOptions.vue | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/column/LookupOptions.vue b/packages/nc-gui/components/smartsheet/column/LookupOptions.vue index 7efcfee430..ca39804f6b 100644 --- a/packages/nc-gui/components/smartsheet/column/LookupOptions.vue +++ b/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,