Browse Source

fix: show links count based on row state for new row

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/6817/head
Pranav C 1 year ago
parent
commit
831c5ddb28
  1. 2
      packages/nc-gui/components/virtual-cell/Links.vue

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

@ -47,7 +47,7 @@ const relatedTableDisplayColumn = computed(
loadRelatedTableMeta()
const textVal = computed(() => {
if (isForm?.value) {
if (isForm?.value || isNew.value) {
return state.value?.[colTitle.value]?.length
? `${+state.value?.[colTitle.value]?.length} ${t('msg.recordsLinked')}`
: t('msg.noRecordsLinked')

Loading…
Cancel
Save