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 5a4513a65b..d29d828550 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 @@ -176,12 +176,10 @@ export default { 'noco', this.projectName, this.meta.title, { - query: { - limit: this.size, - offset: this.size * (this.page - 1), - ...this.queryParams, - where - } + limit: this.size, + offset: this.size * (this.page - 1), + ...this.queryParams, + where })) } } diff --git a/packages/nc-gui/components/project/spreadsheet/components/virtualHeaderCell.vue b/packages/nc-gui/components/project/spreadsheet/components/virtualHeaderCell.vue index e2a7efb829..1f88b99743 100644 --- a/packages/nc-gui/components/project/spreadsheet/components/virtualHeaderCell.vue +++ b/packages/nc-gui/components/project/spreadsheet/components/virtualHeaderCell.vue @@ -235,7 +235,7 @@ export default { methods: { async deleteColumn() { try { - await this.$api.dbTableColumn.delete(this.meta.id, this.column.id) + await this.$api.dbTableColumn.delete(this.column.id) this.$emit('saved') this.columnDeleteDialog = false } catch (e) {