Skip to content

Commit f07a1ba

Browse files
authored
feat: on files tab change 'file format' with 'analysis protocol' and reorder (#4019) (#4028)
1 parent 5142c7b commit f07a1ba

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

explorer/site-config/hca-dcp/dev/index/filesEntityConfig.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export const filesEntityConfig: EntityConfig<FilesResponse> = {
4848
width: { max: "2fr", min: "240px" },
4949
},
5050
{
51+
columnVisible: false,
5152
componentConfig: {
5253
component: C.Cell,
5354
viewBuilder: V.buildFileFormat,
@@ -65,6 +66,15 @@ export const filesEntityConfig: EntityConfig<FilesResponse> = {
6566
id: HCA_DCP_CATEGORY_KEY.FILE_SIZE,
6667
width: { max: "1fr", min: "120px" },
6768
},
69+
{
70+
componentConfig: {
71+
component: C.NTagCell,
72+
viewBuilder: V.buildAggregatedProtocolWorkflow,
73+
} as ComponentConfig<typeof C.NTagCell, FilesResponse>,
74+
header: HCA_DCP_CATEGORY_LABEL.WORKFLOW,
75+
id: HCA_DCP_CATEGORY_KEY.WORKFLOW,
76+
width: { max: "1fr", min: "120px" },
77+
},
6878
{
6979
componentConfig: {
7080
component: C.NTagCell,
@@ -193,16 +203,6 @@ export const filesEntityConfig: EntityConfig<FilesResponse> = {
193203
id: HCA_DCP_CATEGORY_KEY.PAIRED_END,
194204
width: { max: "1fr", min: "120px" },
195205
},
196-
{
197-
columnVisible: false,
198-
componentConfig: {
199-
component: C.NTagCell,
200-
viewBuilder: V.buildAggregatedProtocolWorkflow,
201-
} as ComponentConfig<typeof C.NTagCell, FilesResponse>,
202-
header: HCA_DCP_CATEGORY_LABEL.WORKFLOW,
203-
id: HCA_DCP_CATEGORY_KEY.WORKFLOW,
204-
width: { max: "1fr", min: "120px" },
205-
},
206206
{
207207
columnVisible: false,
208208
componentConfig: {

0 commit comments

Comments
 (0)