Browse Source

fix: undefined parent id

Signed-off-by: Wing-Kam Wong <wingkwong.code@gmail.com>
pull/1166/head
Wing-Kam Wong 2 years ago
parent
commit
f6855a193c
  1. 2
      packages/nc-gui/components/project/spreadsheet/components/virtualCell/components/listItems.vue

2
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,

Loading…
Cancel
Save