Browse Source

Merge pull request #3325 from nocodb/fix/gui-v2-link-to-field

fix(gui-v2): link to field correction
pull/3331/head
Raju Udava 2 years ago committed by GitHub
parent
commit
4dd9c25292
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      packages/nc-gui-v2/components/virtual-cell/components/ListChildItems.vue

4
packages/nc-gui-v2/components/virtual-cell/components/ListChildItems.vue

@ -31,7 +31,6 @@ const readonly = inject(ReadonlyInj, false)
const {
childrenList,
meta,
deleteRelatedRow,
loadChildrenList,
childrenListPagination,
@ -85,13 +84,12 @@ const expandedFormRow = ref()
<div class="max-h-[max(calc(100vh_-_300px)_,500px)] flex flex-col py-6">
<div class="flex mb-4 items-center gap-2 px-12">
<div class="flex-1" />
<MdiReload v-if="!isForm" class="cursor-pointer text-gray-500" @click="loadChildrenList" />
<a-button v-if="!readonly" type="primary" ghost class="!text-xs" size="small" @click="emit('attachRecord')">
<div class="flex items-center gap-1">
<MdiLinkVariantRemove class="text-xs" type="primary" @click="unlinkRow(row)" />
Link to '{{ meta.title }}'
Link to '{{ relatedTableMeta.title }}'
</div>
</a-button>
</div>

Loading…
Cancel
Save