Skip to content

Commit

Permalink
[GLT-4104] moved the Case Details link (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
djcooke authored Mar 12, 2024
1 parent 4ec8084 commit fa93e9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions changes/change_caseDetails_link.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Moved the Case Details link from the assay name to a clearer "Case Details" text node
9 changes: 4 additions & 5 deletions ts/data/case.ts
Original file line number Diff line number Diff line change
Expand Up @@ -671,11 +671,7 @@ function makeBaseColumns<ChildType>(): ColumnDefinition<Case, ChildType>[] {
sortType: "text",
addParentContents(kase, fragment) {
const assay = siteConfig.assaysById[kase.assayId];
const assayDiv = makeNameDiv(
assay.name,
urls.miso.assay(kase.assayId),
urls.dimsum.case(kase.id)
);
const assayDiv = makeNameDiv(assay.name, urls.miso.assay(kase.assayId));

fragment.appendChild(assayDiv);

Expand Down Expand Up @@ -706,6 +702,9 @@ function makeBaseColumns<ChildType>(): ColumnDefinition<Case, ChildType>[] {
requisition.name
)
);
fragment.appendChild(
makeNameDiv("Case Details", undefined, urls.dimsum.case(kase.id))
);
},
},
];
Expand Down

0 comments on commit fa93e9b

Please sign in to comment.