File tree 3 files changed +7
-4
lines changed
3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { SystemStatusBindResponseFn } from "@databiosphere/findable-ui/lib/confi
3
3
import { CATALOG_DEFAULT } from "../../../app/apis/azul/anvil-cmg/common/constants" ;
4
4
import * as C from "../../../app/components/index" ;
5
5
import { bindSystemStatusResponse } from "../../../app/viewModelBuilders/azul/common/systemStatusMapper/systemStatusMapper" ;
6
+ import { FLATTEN } from "../../common/constants" ;
6
7
import { SiteConfig } from "../../common/entities" ;
7
8
import { ANVIL_CMG_CATEGORY_KEY , ANVIL_CMG_CATEGORY_LABEL } from "../category" ;
8
9
import { announcements } from "./announcements/announcements" ;
@@ -163,7 +164,7 @@ export function makeConfig(
163
164
undefined ,
164
165
[
165
166
{
166
- flatten : { md : true , sm : true , xs : true } ,
167
+ flatten : FLATTEN . XS_ONLY ,
167
168
label : "Help & Documentation" ,
168
169
menuItems : [
169
170
{
@@ -188,7 +189,7 @@ export function makeConfig(
188
189
] ,
189
190
] ,
190
191
searchEnabled : false ,
191
- searchURL : ` ${ browserUrl } /search` ,
192
+ searchURL : undefined ,
192
193
} ,
193
194
} ,
194
195
portalURL : portalUrl ,
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import {
11
11
} from "@databiosphere/findable-ui/lib/theme/common/typography" ;
12
12
import * as C from "../../../app/components/index" ;
13
13
import { bindSystemStatusResponse } from "../../../app/viewModelBuilders/azul/common/systemStatusMapper/systemStatusMapper" ;
14
+ import { FLATTEN } from "../../common/constants" ;
14
15
import { SiteConfig } from "../../common/entities" ;
15
16
import { HCA_DCP_CATEGORY_KEY , HCA_DCP_CATEGORY_LABEL } from "../category" ;
16
17
import { announcements } from "./announcements/announcements" ;
@@ -223,7 +224,7 @@ export function makeConfig(
223
224
undefined ,
224
225
[
225
226
{
226
- flatten : { md : true , sm : true , xs : true } ,
227
+ flatten : FLATTEN . XS_ONLY ,
227
228
label : "Help & Documentation" ,
228
229
menuItems : [
229
230
{
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import hcaConfig, {
5
5
PORTAL_URL as HCA_PORTAL_URL ,
6
6
} from "site-config/hca-dcp/dev/config" ;
7
7
import * as C from "../../../app/components/index" ;
8
+ import { FLATTEN } from "../../common/constants" ;
8
9
import { SiteConfig } from "../../common/entities" ;
9
10
import { filesEntityConfig as hcaFilesEntityConfig } from "../../hca-dcp/dev/index/filesEntityConfig" ;
10
11
import { samplesEntityConfig as hcaSamplesEntityConfig } from "../../hca-dcp/dev/index/samplesEntityConfig" ;
@@ -89,7 +90,7 @@ export function makeConfig(
89
90
undefined ,
90
91
[
91
92
{
92
- flatten : { md : true , sm : true , xs : true } ,
93
+ flatten : FLATTEN . XS_ONLY ,
93
94
label : "Help & Documentation" ,
94
95
menuItems : [
95
96
{
You can’t perform that action at this time.
0 commit comments