Browse Source

fix: undefined parent id

Signed-off-by: Wing-Kam Wong <wingkwong.code@gmail.com>
pull/1166/head
Wing-Kam Wong 3 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), offset: this.size * (this.page - 1),
...this.queryParams, ...this.queryParams,
where where
}, this.mm.vtn, this.parentId) }, this.mm.vtn, this.parentId || -1)
} else { } else {
this.data = await this.api.paginatedList({ this.data = await this.api.paginatedList({
limit: this.size, limit: this.size,

Loading…
Cancel
Save