From f6855a193c21c540d0b78dc9833410475adb19ae Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Sat, 12 Feb 2022 17:21:45 +0800 Subject: [PATCH] fix: undefined parent id Signed-off-by: Wing-Kam Wong --- .../spreadsheet/components/virtualCell/components/listItems.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nc-gui/components/project/spreadsheet/components/virtualCell/components/listItems.vue b/packages/nc-gui/components/project/spreadsheet/components/virtualCell/components/listItems.vue index cce006f119..224d56182b 100644 --- a/packages/nc-gui/components/project/spreadsheet/components/virtualCell/components/listItems.vue +++ b/packages/nc-gui/components/project/spreadsheet/components/virtualCell/components/listItems.vue @@ -162,7 +162,7 @@ export default { offset: this.size * (this.page - 1), ...this.queryParams, where - }, this.mm.vtn, this.parentId) + }, this.mm.vtn, this.parentId || -1) } else { this.data = await this.api.paginatedList({ limit: this.size,