Skip to content

Commit 7e23497

Browse files
authored
chore: updated default order in hca-dcp "Projects" tab (#4081) (#4082)
1 parent d6fce18 commit 7e23497

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

explorer/site-config/hca-dcp/category.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ export const HCA_DCP_CATEGORY_KEY = {
4646

4747
export const HCA_DCP_CATEGORY_LABEL = {
4848
ACCESSIBLE: "Access",
49-
AGGREGATE_LAST_MODIFIED_DATE: "Update Date",
50-
AGGREGATE_SUBMISSION_DATE: "Submission Date",
49+
AGGREGATE_LAST_MODIFIED_DATE: "Updated",
50+
AGGREGATE_SUBMISSION_DATE: "Submitted",
5151
ANALYSIS_PROTOCOL: "Analysis Protocol",
5252
ANATOMICAL_ENTITY: "Anatomical Entity",
5353
AZUL_FILE_DOWNLOAD: " ",

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ export const projectsEntityConfig: EntityConfig = {
246246
width: { max: "1fr", min: "224px" },
247247
},
248248
{
249-
columnVisible: false,
249+
columnVisible: true,
250250
componentConfig: {
251251
component: C.Cell,
252252
viewBuilder: V.buildAggregateLastModifiedDate,
@@ -257,8 +257,8 @@ export const projectsEntityConfig: EntityConfig = {
257257
},
258258
],
259259
defaultSort: {
260-
desc: SORT_DIRECTION.ASCENDING,
261-
id: HCA_DCP_CATEGORY_KEY.PROJECT_TITLE,
260+
desc: SORT_DIRECTION.DESCENDING,
261+
id: HCA_DCP_CATEGORY_KEY.AGGREGATE_LAST_MODIFIED_DATE,
262262
},
263263
} as ListConfig<ProjectsResponse>,
264264
listView: {

0 commit comments

Comments
 (0)