Skip to content

Commit 3445d51

Browse files
Fran McDadefrano-m
Fran McDade
authored andcommitted
feat: update anvil and hca and lungmap explorer header config (#4120)
1 parent 262782a commit 3445d51

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

explorer/site-config/anvil-cmg/dev/config.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { SystemStatusBindResponseFn } from "@databiosphere/findable-ui/lib/confi
33
import { CATALOG_DEFAULT } from "../../../app/apis/azul/anvil-cmg/common/constants";
44
import * as C from "../../../app/components/index";
55
import { bindSystemStatusResponse } from "../../../app/viewModelBuilders/azul/common/systemStatusMapper/systemStatusMapper";
6+
import { FLATTEN } from "../../common/constants";
67
import { SiteConfig } from "../../common/entities";
78
import { ANVIL_CMG_CATEGORY_KEY, ANVIL_CMG_CATEGORY_LABEL } from "../category";
89
import { announcements } from "./announcements/announcements";
@@ -163,7 +164,7 @@ export function makeConfig(
163164
undefined,
164165
[
165166
{
166-
flatten: { md: true, sm: true, xs: true },
167+
flatten: FLATTEN.XS_ONLY,
167168
label: "Help & Documentation",
168169
menuItems: [
169170
{
@@ -188,7 +189,7 @@ export function makeConfig(
188189
],
189190
],
190191
searchEnabled: false,
191-
searchURL: `${browserUrl}/search`,
192+
searchURL: undefined,
192193
},
193194
},
194195
portalURL: portalUrl,

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import {
1111
} from "@databiosphere/findable-ui/lib/theme/common/typography";
1212
import * as C from "../../../app/components/index";
1313
import { bindSystemStatusResponse } from "../../../app/viewModelBuilders/azul/common/systemStatusMapper/systemStatusMapper";
14+
import { FLATTEN } from "../../common/constants";
1415
import { SiteConfig } from "../../common/entities";
1516
import { HCA_DCP_CATEGORY_KEY, HCA_DCP_CATEGORY_LABEL } from "../category";
1617
import { announcements } from "./announcements/announcements";
@@ -223,7 +224,7 @@ export function makeConfig(
223224
undefined,
224225
[
225226
{
226-
flatten: { md: true, sm: true, xs: true },
227+
flatten: FLATTEN.XS_ONLY,
227228
label: "Help & Documentation",
228229
menuItems: [
229230
{

explorer/site-config/lungmap/dev/config.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import hcaConfig, {
55
PORTAL_URL as HCA_PORTAL_URL,
66
} from "site-config/hca-dcp/dev/config";
77
import * as C from "../../../app/components/index";
8+
import { FLATTEN } from "../../common/constants";
89
import { SiteConfig } from "../../common/entities";
910
import { filesEntityConfig as hcaFilesEntityConfig } from "../../hca-dcp/dev/index/filesEntityConfig";
1011
import { samplesEntityConfig as hcaSamplesEntityConfig } from "../../hca-dcp/dev/index/samplesEntityConfig";
@@ -89,7 +90,7 @@ export function makeConfig(
8990
undefined,
9091
[
9192
{
92-
flatten: { md: true, sm: true, xs: true },
93+
flatten: FLATTEN.XS_ONLY,
9394
label: "Help & Documentation",
9495
menuItems: [
9596
{

0 commit comments

Comments
 (0)