From dc919c0ecf1cfe1deea2a5d7b823296f502f9aa2 Mon Sep 17 00:00:00 2001 From: Dillan Cooke Date: Mon, 11 Mar 2024 15:38:48 -0400 Subject: [PATCH] [GLT-4104] moved the Case Details link --- changes/change_caseDetails_link.md | 1 + ts/data/case.ts | 9 ++++----- 2 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 changes/change_caseDetails_link.md diff --git a/changes/change_caseDetails_link.md b/changes/change_caseDetails_link.md new file mode 100644 index 00000000..66b29b6a --- /dev/null +++ b/changes/change_caseDetails_link.md @@ -0,0 +1 @@ +Moved the Case Details link from the assay name to a clearer "Case Details" text node diff --git a/ts/data/case.ts b/ts/data/case.ts index ee82de4b..9f8e4cd6 100644 --- a/ts/data/case.ts +++ b/ts/data/case.ts @@ -671,11 +671,7 @@ function makeBaseColumns(): ColumnDefinition[] { 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); @@ -706,6 +702,9 @@ function makeBaseColumns(): ColumnDefinition[] { requisition.name ) ); + fragment.appendChild( + makeNameDiv("Case Details", undefined, urls.dimsum.case(kase.id)) + ); }, }, ];