diff --git a/packages/nc-gui/components/virtual-cell/components/ListChildItems.vue b/packages/nc-gui/components/virtual-cell/components/ListChildItems.vue index a06d8ed36f..bb01a46ac1 100644 --- a/packages/nc-gui/components/virtual-cell/components/ListChildItems.vue +++ b/packages/nc-gui/components/virtual-cell/components/ListChildItems.vue @@ -19,7 +19,7 @@ import { watch, } from '#imports' -const props = defineProps<{ modelValue?: boolean; cellValue: any }>() +const props = defineProps<{ modelValue?: boolean; cellValue: any; column: any }>() const emit = defineEmits(['update:modelValue', 'attachRecord']) @@ -148,7 +148,7 @@ const onClick = (row: Row) => { >
- {{ row[relatedTableDisplayValueProp] }} + (Primary key : {{ getRelatedTableRowId(row) }})
diff --git a/packages/nc-gui/components/virtual-cell/components/ListItems.vue b/packages/nc-gui/components/virtual-cell/components/ListItems.vue index 5059cc39a5..b8e688a97e 100644 --- a/packages/nc-gui/components/virtual-cell/components/ListItems.vue +++ b/packages/nc-gui/components/virtual-cell/components/ListItems.vue @@ -19,7 +19,7 @@ import { watch, } from '#imports' -const props = defineProps<{ modelValue: boolean }>() +const props = defineProps<{ modelValue: boolean; column: any }>() const emit = defineEmits(['update:modelValue', 'addNewRecord']) @@ -229,7 +229,7 @@ watch(vModel, (nextVal) => { :class="{ 'nc-selected-row': selectedRowIndex === i }" @click="linkRow(refRow)" > - {{ refRow[relatedTableDisplayValueProp] }} +