From adbfaeff02d0d9813c92fb1079ff02c52d676ba3 Mon Sep 17 00:00:00 2001 From: Muhammed Mustafa Date: Mon, 6 Nov 2023 11:31:37 +0000 Subject: [PATCH] fix: Made column hide by default only when view id is explicitly given to the create column model --- packages/nocodb/src/models/Column.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nocodb/src/models/Column.ts b/packages/nocodb/src/models/Column.ts index 93664591cf..6977e28940 100644 --- a/packages/nocodb/src/models/Column.ts +++ b/packages/nocodb/src/models/Column.ts @@ -186,7 +186,7 @@ export default class Column implements ColumnType { { fk_column_id: row.id, fk_model_id: column.fk_model_id, - show: false, + show: column.view_id ? false : true, column_order: column.column_order, }, ncMeta,