diff --git a/packages/nc-gui/components/virtual-cell/BelongsTo.vue b/packages/nc-gui/components/virtual-cell/BelongsTo.vue index aa4b068639..b5eb182d3c 100644 --- a/packages/nc-gui/components/virtual-cell/BelongsTo.vue +++ b/packages/nc-gui/components/virtual-cell/BelongsTo.vue @@ -93,6 +93,7 @@ const belongsToColumn = computed( :item="value" :value="value[relatedTableDisplayValueProp]" :column="belongsToColumn" + :show-unlink-button="true" @unlink="unlinkRef(value)" /> diff --git a/packages/nc-gui/components/virtual-cell/HasMany.vue b/packages/nc-gui/components/virtual-cell/HasMany.vue index 82caa3f80c..1d069279cf 100644 --- a/packages/nc-gui/components/virtual-cell/HasMany.vue +++ b/packages/nc-gui/components/virtual-cell/HasMany.vue @@ -109,6 +109,7 @@ useSelectedCellKeyupListener(inject(ActiveCellInj, ref(false)), (e: KeyboardEven :item="cell.item" :value="cell.value" :column="hasManyColumn" + :show-unlink-button="true" @unlink="unlinkRef(cell.item)" /> diff --git a/packages/nc-gui/components/virtual-cell/ManyToMany.vue b/packages/nc-gui/components/virtual-cell/ManyToMany.vue index 8cfb905b65..1cd1c05dd4 100644 --- a/packages/nc-gui/components/virtual-cell/ManyToMany.vue +++ b/packages/nc-gui/components/virtual-cell/ManyToMany.vue @@ -111,6 +111,7 @@ const m2mColumn = computed( :item="cell.item" :value="cell.value" :column="m2mColumn" + :show-unlink-button="true" @unlink="unlinkRef(cell.item)" /> diff --git a/packages/nc-gui/components/virtual-cell/components/ListItems.vue b/packages/nc-gui/components/virtual-cell/components/ListItems.vue index b8e688a97e..16b3fff692 100644 --- a/packages/nc-gui/components/virtual-cell/components/ListItems.vue +++ b/packages/nc-gui/components/virtual-cell/components/ListItems.vue @@ -229,7 +229,11 @@ watch(vModel, (nextVal) => { :class="{ 'nc-selected-row': selectedRowIndex === i }" @click="linkRow(refRow)" > - +