File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ This Changelog tracks changes to this project. The notes below include a summary
9
9
- ` fixed ` for any bug fixes.
10
10
- ` security ` in case of vulnerabilities.
11
11
12
+ ## 14 Sep 2022
13
+
14
+ - ` changed ` template download button to point to /templates/assays not /templates/metadata
15
+
12
16
## 11 Aug 2022
13
17
14
18
- ` changed ` clinical data NOT included in cross-assay permissions
Original file line number Diff line number Diff line change @@ -9,9 +9,7 @@ export function nameToURL(
9
9
name : string
10
10
) {
11
11
const fmtedName = name . toLowerCase ( ) . replace ( " " , "_" ) ;
12
- // Assay templates have type "metadata" on the server
13
- const fixedType = type === "assays" ? "metadata" : type ;
14
- return `${ process . env . REACT_APP_API_URL } /info/templates/${ fixedType } /${ fmtedName } ` ;
12
+ return `${ process . env . REACT_APP_API_URL } /info/templates/${ type } /${ fmtedName } ` ;
15
13
}
16
14
17
15
export interface ITemplateDownloadButtonProps extends ButtonProps {
You can’t perform that action at this time.
0 commit comments