Browse Source

fix: enable Links Modal in Form

pull/6360/head
DarkPhoenix2704 1 year ago
parent
commit
a5aa623cc3
  1. 2
      packages/nc-gui/components/virtual-cell/HasMany.vue
  2. 2
      packages/nc-gui/components/virtual-cell/Links.vue
  3. 2
      packages/nc-gui/components/virtual-cell/ManyToMany.vue

2
packages/nc-gui/components/virtual-cell/HasMany.vue

@ -129,7 +129,7 @@ useSelectedCellKeyupListener(inject(ActiveCellInj, ref(false)), (e: KeyboardEven
/>
<GeneralIcon
v-if="!readOnly && isUIAllowed('xcDatatableEditable')"
v-if="(!readOnly && isUIAllowed('xcDatatableEditable')) || isForm"
icon="plus"
class="select-none text-sm nc-action-icon text-gray-500/50 hover:text-gray-500 nc-plus"
@click.stop="listItemsDlg = true"

2
packages/nc-gui/components/virtual-cell/Links.vue

@ -100,7 +100,7 @@ const localCellValue = computed<any[]>(() => {
<div v-if="!isLocked && !isUnderLookup" class="flex justify-end hidden group-hover:flex items-center">
<MdiPlus
v-if="!readOnly && isUIAllowed('xcDatatableEditable')"
v-if="(!readOnly && isUIAllowed('xcDatatableEditable')) || isForm"
class="select-none !text-md text-gray-700 nc-action-icon nc-plus"
@click.stop="listItemsDlg = true"
/>

2
packages/nc-gui/components/virtual-cell/ManyToMany.vue

@ -123,7 +123,7 @@ const m2mColumn = computed(
</template>
</div>
<div v-if="!isLocked && !isUnderLookup" class="flex justify-end gap-1 min-h-[30px] items-center">
<div v-if="(!isLocked && !isUnderLookup) || isForm" class="flex justify-end gap-1 min-h-[30px] items-center">
<GeneralIcon
icon="expand"
class="text-sm nc-action-icon text-gray-500/50 hover:text-gray-500 nc-arrow-expand"

Loading…
Cancel
Save