Browse Source

fix: Made column hide by default only when view id is explicitly given to the create column model

pull/6889/head
Muhammed Mustafa 1 year ago
parent
commit
adbfaeff02
  1. 2
      packages/nocodb/src/models/Column.ts

2
packages/nocodb/src/models/Column.ts

@ -186,7 +186,7 @@ export default class Column<T = any> implements ColumnType {
{ {
fk_column_id: row.id, fk_column_id: row.id,
fk_model_id: column.fk_model_id, fk_model_id: column.fk_model_id,
show: false, show: column.view_id ? false : true,
column_order: column.column_order, column_order: column.column_order,
}, },
ncMeta, ncMeta,

Loading…
Cancel
Save