|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
<script lang="ts" setup> |
|
|
|
|
import type { TableType } from 'nocodb-sdk' |
|
|
|
|
import { UITypes, isLinksOrLTAR } from '../../../../nocodb-sdk/src' |
|
|
|
|
import { |
|
|
|
|
ActiveViewInj, |
|
|
|
|
ReloadViewDataHookInj, |
|
|
|
@ -27,7 +28,9 @@ const searchDropdown = ref(null)
|
|
|
|
|
onClickOutside(searchDropdown, () => (isDropdownOpen.value = false)) |
|
|
|
|
|
|
|
|
|
const columns = computed(() => |
|
|
|
|
(meta.value as TableType)?.columns?.map((column) => ({ |
|
|
|
|
(meta.value as TableType)?.columns |
|
|
|
|
?.filter((column) => column?.uidt !== UITypes.Links) |
|
|
|
|
?.map((column) => ({ |
|
|
|
|
value: column.id, |
|
|
|
|
label: column.title, |
|
|
|
|
})), |
|
|
|
|