Skip to content

Commit 0ea3fe6

Browse files
committed
address comment.
1 parent 3d841b7 commit 0ea3fe6

File tree

2 files changed

+2
-2
lines changed
  • src/routes/(console)/project-[region]-[project]/databases/database-[database]/collection-[collection]

2 files changed

+2
-2
lines changed

src/routes/(console)/project-[region]-[project]/databases/database-[database]/collection-[collection]/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
id: attribute.key,
4141
title: attribute.key,
4242
type: attribute.type as ColumnType,
43-
show: selected?.includes(attribute.key) ?? true,
43+
hide: !!selected?.includes(attribute.key),
4444
array: attribute?.array,
4545
format: 'format' in attribute && attribute?.format === 'enum' ? attribute.format : null,
4646
elements: 'elements' in attribute ? attribute.elements : null

src/routes/(console)/project-[region]-[project]/databases/database-[database]/collection-[collection]/table.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
id: attribute.key,
111111
title: attribute.key,
112112
type: attribute.type as ColumnType,
113-
show: selected?.includes(attribute.key) ?? true,
113+
hide: !!selected?.includes(attribute.key),
114114
array: attribute?.array,
115115
width: { min: 168 },
116116
format:

0 commit comments

Comments
 (0)