Browse Source

fix(gui-v2): consider `ignoreColdIds` params in showAllColumns

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/3310/head
Pranav C 2 years ago
parent
commit
d90abee826
  1. 2
      packages/nocodb/src/lib/models/View.ts

2
packages/nocodb/src/lib/models/View.ts

@ -907,6 +907,8 @@ export default class View implements ViewType {
// insert or update view column
for (const col of columns) {
if (ignoreColdIds?.includes(col.id)) continue;
const colIndex = availableColumnsInView.indexOf(col.id);
if (colIndex > -1) {
await this.updateColumn(

Loading…
Cancel
Save