File tree 2 files changed +7
-4
lines changed
explorer/site-config/anvil-cmg 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,10 @@ const logoUsagov = "/images/logoUsagov.png";
21
21
const SLOGAN = "NHGRI Analysis Visualization and Informatics Lab-space" ;
22
22
export const URL_DATASETS = "/datasets" ;
23
23
24
- export function make_config ( browserUrl : string ) : SiteConfig {
24
+ export function make_config (
25
+ browserUrl : string ,
26
+ catalog : string = CATALOG_DEFAULT
27
+ ) : SiteConfig {
25
28
return {
26
29
analytics : {
27
30
gtmAuth : "up3ucjProssPj7Iq59W45g" , // GTM environment-specific
@@ -90,10 +93,10 @@ export function make_config(browserUrl: string): SiteConfig {
90
93
] ,
91
94
dataSource : {
92
95
defaultDetailParams : {
93
- catalog : CATALOG_DEFAULT ,
96
+ catalog : catalog ,
94
97
} ,
95
98
defaultListParams : {
96
- catalog : CATALOG_DEFAULT ,
99
+ catalog : catalog ,
97
100
size : "25" ,
98
101
sort : "entryId" ,
99
102
} ,
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { downloadColumn } from "../dev/index/filesEntityConfig";
7
7
import { authenticationConfig } from "./authentication/authentication" ;
8
8
9
9
const config : SiteConfig = {
10
- ...make_config ( "https://prod.anvil.gi.ucsc.edu" ) ,
10
+ ...make_config ( "https://prod.anvil.gi.ucsc.edu" , "anvil1" ) ,
11
11
exportToTerraUrl : "https://app.terra.bio/" ,
12
12
} ;
13
13
You can’t perform that action at this time.
0 commit comments