diff --git a/packages/nc-gui/components/virtual-cell/components/ListChildItems.vue b/packages/nc-gui/components/virtual-cell/components/ListChildItems.vue index 8a5cb6c70e..4a6a2052ed 100644 --- a/packages/nc-gui/components/virtual-cell/components/ListChildItems.vue +++ b/packages/nc-gui/components/virtual-cell/components/ListChildItems.vue @@ -106,7 +106,7 @@ const relation = computed(() => { watch( () => props.cellValue, () => { - if (!isNew.value) loadChildrenList() + if (isNew.value) loadChildrenList() }, ) @@ -178,6 +178,7 @@ watch(expandedFormDlg, () => { @expand="onClick(refRow)" @click=" () => { + if (isPublic && !isForm) return isNew ? unlinkRow(refRow, Number.parseInt(id)) : isChildrenListLinked[Number.parseInt(id)] diff --git a/packages/nc-gui/components/virtual-cell/components/ListItem.vue b/packages/nc-gui/components/virtual-cell/components/ListItem.vue index 84ae5e7842..f3b6d76b4e 100644 --- a/packages/nc-gui/components/virtual-cell/components/ListItem.vue +++ b/packages/nc-gui/components/virtual-cell/components/ListItem.vue @@ -88,7 +88,7 @@ const attachments: Attachment[] = computed(() => { /> -