diff --git a/packages/nc-gui/components/project/spreadsheet/components/virtualCell/hasManyCell.vue b/packages/nc-gui/components/project/spreadsheet/components/virtualCell/hasManyCell.vue index 863777c5e7..6a5e04a9db 100644 --- a/packages/nc-gui/components/project/spreadsheet/components/virtualCell/hasManyCell.vue +++ b/packages/nc-gui/components/project/spreadsheet/components/virtualCell/hasManyCell.vue @@ -362,8 +362,7 @@ export default { this.newRecordModal = false await this.childApi.update(id, { - [_cn]: - (this.hm && child[`${this.hm._rtn}Read`] && child[`${this.hm._rtn}Read`][this.hm && _cn]) || parseIfInteger(this.parentId) + [_cn]: parseIfInteger(this.parentId) }, { [_cn]: child[this.childForeignKey] })