Browse Source

fix: correct expanded form view behaviour

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5848/head
Pranav C 1 year ago
parent
commit
b66e0e42b3
  1. 8
      packages/nc-gui/components/virtual-cell/Link.vue

8
packages/nc-gui/components/virtual-cell/Link.vue

@ -67,18 +67,13 @@ const onAttachRecord = () => {
<template>
<div class="flex w-full items-center">
<template v-if="!isForm">
<a @click.stop.prevent="childListDlg = true" class="text-center pl-3 flex-grow block"
:class="{'!text-gray-300': !value}">
{{ textVal }}
</a>
<div v-if="!isLocked && !isUnderLookup" class="flex justify-end gap-1 min-h-[30px] items-center">
<!-- <GeneralIcon-->
<!-- icon="expand"-->
<!-- class="select-none transform text-sm nc-action-icon text-gray-500/50 hover:text-gray-500 nc-arrow-expand"-->
<!-- @click.stop="childListDlg = true"-->
<!-- />-->
<GeneralIcon
v-if="!readOnly && isUIAllowed('xcDatatableEditable')"
icon="plus"
@ -86,6 +81,7 @@ const onAttachRecord = () => {
@click.stop="listItemsDlg = true"
/>
</div>
</template>
<LazyVirtualCellComponentsListItems v-model="listItemsDlg" :column="relatedTableDisplayColumn" />

Loading…
Cancel
Save